]> source.dussan.org Git - jquery.git/commit
Core: Implement .even() & .odd() to replace POS :even & :odd
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Tue, 24 Sep 2019 00:04:53 +0000 (02:04 +0200)
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Tue, 24 Sep 2019 00:05:39 +0000 (02:05 +0200)
commit409cbda7fe85d7026aaa4423d3384f288eed5be2
tree39e7af5d20a014746f099fe504d2b61ee0a610c8
parent0c67da4b74394d17991511b80f3ccff9f0c423be
Core: Implement .even() & .odd() to replace POS :even & :odd

`:even` & `:odd` are deprecated since jQuery 3.4.0 & will be removed in 4.0.0.
The new `even()` & `odd()` methods will make the migration easier.

Closes gh-4485

(cherry picked from commit 78420d427cf3734d9264405fcbe08b76be182a95)
src/core.js
test/unit/core.js