I'd like to modify just 1 function in a ui plugin to add an extra ability it doesn't have but I'd rather not put my code in the ui code file. I've done this in other frameworks and projects by just doing something similar to this:
prototype.targetobjt.method = function() {}; I'm sure everyone gets this but I just wanted to make it clear that I do understand how the prototype system works. What I'm not understanding is how $.widget() works and how I can accomplish this in the jquery system.