Skip to main content

Bug Tracker

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.

Attachments (0)
Change History (2)

Changed July 15, 2009 08:31AM UTC by yehuda comment:1

milestone: 1.3.21.3.3
version: 1.3.11.3.2

Changed July 16, 2009 08:35AM UTC by yehuda comment:2

resolution: → fixed
status: newclosed

Resolved by #6443