Side navigation
#5712 closed enhancement (fixed)
Opened December 24, 2009 07:03PM UTC
Closed April 17, 2011 05:55AM UTC
Allow jQuery.fn.is to accept a function
Reported by: | dayletter | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.6 |
Component: | traversing | Version: | 1.5.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I am surprised that jQuery.fn.is does not handle the parameter as a function since it is more or less the same as jQuery.fn.filter(...).length > 0, while jQuery.fn.filter does accept a function.
Attachments (0)
Change History (6)
Changed October 19, 2010 01:07AM UTC by comment:1
milestone: | 1.4.4 → 1.5 |
---|
Changed October 19, 2010 05:57AM UTC by comment:2
keywords: | → needsreview |
---|
Changed October 22, 2010 06:12PM UTC by comment:3
component: | core → traversing |
---|---|
priority: | minor → low |
status: | new → open |
jQuery does not yet support this.
Additionally, I've closed http://bugs.jquery.com/ticket/2579 - as it requested the same support AND $.fn.not
Changed October 24, 2010 04:48PM UTC by comment:4
owner: | → rwaldron |
---|---|
status: | open → assigned |
Changed April 16, 2011 09:54PM UTC by comment:5
milestone: | → 1.next |
---|---|
owner: | rwaldron |
status: | assigned → open |
Let's considering this for 1.7.
Changed April 17, 2011 05:55AM UTC by comment:6
keywords: | needsreview |
---|---|
milestone: | 1.next → 1.6 |
resolution: | → fixed |
status: | open → closed |
version: | 1.4a2 → 1.5.2 |
Now that I think about it, with my recent changes it already does: http://jsfiddle.net/timmywil/cLSBM/
Retarget all enhancements/features to next major version.