Bug Tracker

Opened 15 years ago

Closed 14 years ago

#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:
Blocked by: Blocking:

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 (2)

comment:1 Changed 14 years ago by yehuda

Milestone: 1.3.21.3.3
Version: 1.3.11.3.2

comment:2 Changed 14 years ago by yehuda

Resolution: fixed
Status: newclosed

Resolved by #6443

Note: See TracTickets for help on using tickets.