Opened 14 years ago
Closed 12 years ago
#5712 closed enhancement (fixed)
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.
Change History (6)
comment:1 Changed 13 years ago by
Milestone: | 1.4.4 → 1.5 |
---|
comment:2 Changed 13 years ago by
Keywords: | needsreview added |
---|
comment:3 Changed 13 years ago by
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
comment:4 Changed 13 years ago by
Owner: | set to Rick Waldron |
---|---|
Status: | open → assigned |
comment:5 Changed 12 years ago by
Milestone: | → 1.next |
---|---|
Owner: | Rick Waldron deleted |
Status: | assigned → open |
Let's considering this for 1.7.
comment:6 Changed 12 years ago by
Keywords: | needsreview removed |
---|---|
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/
Note: See
TracTickets for help on using
tickets.
Retarget all enhancements/features to next major version.