Side navigation
#4200 closed bug (fixed)
Opened February 20, 2009 02:06PM UTC
Closed July 16, 2009 08:35AM UTC
$.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.