Genericize members of jQuery.fn
|Reported by:||mjijackson@…||Owned by:|
This ticket is the result of a pull request here:
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.
Change History (6)
comment:5 Changed 5 years ago by dmethvin
- Resolution set to wontfix
- Status changed from new to closed