Opened 10 years ago
Closed 10 years ago
#12201 closed bug (wontfix)
Sizzle filter api incompatible when adding a custom pseudo selector
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | selector | Version: | 1.8rc1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Change History (2)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Component: | unfiled → selector |
---|---|
Priority: | undecided → low |
Resolution: | → wontfix |
Status: | new → closed |
The new way to create custom pseudos with arguments is much clearer and faster.
The documentation can be found here: https://github.com/jquery/sizzle/wiki/Sizzle-Documentation#wiki-pseudo-selectors.
Your example adjusted to conform to the new API: http://jsfiddle.net/timmywil/VuWNg/1/
Custom pseudos that don't require arguments work the same way.
Note: See
TracTickets for help on using
tickets.
jsFiddle demonstrating the problem: http://jsfiddle.net/VuWNg/