- Notifications
You must be signed in to change notification settings - Fork20.6k
Core: Implement .even() & .odd() to replace POS :even & :odd#4485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
mgol commentedSep 16, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@jquery/core If we want to make the migration away from POS selectors easier, it might be worth releasing the next jQuery as |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Yes and yes 3.5.
This definitely will make migration easier. |
Summary
Implement .even() & .odd() to replace POS :even & :odd. The current version adds 28 bytes; it'd be slightly smaller (+25 bytes) to rely on
.filter()
but that'd makecore
depend ontraversing/findFilter
.Checklist