Modify ↓
Ticket #4200 (closed bug: fixed)
$.fn.filter() and $.fn.not() are needlessly asymmetrical
| Reported by: | maranomynet | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | core | Version: | 1.3.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
One automatically assumes $.fn.not() is simply an inversed $.fn.filter()
... which it isn't, as .not() doesn't accept functions as parameters, and .filter() doesn't accept elements, collections, or nodelists.
This asymmetry seems wholly needless and relatively easy to fix, and might even result in a more compact code.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
