id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,blocking,blockedby
8634,Genericize members of jQuery.fn,mjijackson@…,,"This ticket is the result of a pull request here:

https://github.com/jquery/jquery/pull/285

Basically, the pull request makes a few small changes that allow jQuery.fn.bind, jQuery.fn.one, and jQuery.fn.unbind to operate in the context of any array-like object and does not require that object necessarily be a jQuery object. The idea is that, since jQuery.event knows how to add/remove events from plain objects, it might be exploited for use on plain JavaScript objects.

By making the prototype more generic, this allows subclasses of jQuery.fn to use bind/one/unbind to potentially any object, including themselves. It's just a first step, but the entire prototype could potentially be made generic enough enable using it in the context of any array-like object. If every member of jQuery.fn assumes only that it is being called within the context of an array-like object, instead of an instance of jQuery.fn, it could be much more useful to third parties who wish to extend jQuery.fn or use its members to enhance their own behavior.",feature,closed,undecided,1.next,unfiled,git,wontfix,,,,
