jquery-ui/tests/unit
Michał Gołębiowski-Owczarek 0c860b0d92
All: Remove usage of jQuery positional selectors
jQuery positional selectors () have been deprecated in
[jQuery 3.4.0](https://blog.jquery.com/2019/04/10/jquery-3-4-0-released/)
and they'll be removed in jQuery 4.0.0. This PR removes their usage.

Most of the changes were possible without changing public API. However,
dropping `:even` usage required a change to the
[`header` option](https://api.jqueryui.com/accordion/#option-header)
of the accordion widget. I made it an optional function; this will need
to be documented.

The polyfill for `.even()` & `.odd()` is added for jQuery <3.5.0. There was
no usage of the :odd selector in the code but the `.odd()` method is also
polyfilled for completeness.

Closes gh-1904
2020-01-22 16:44:34 +01:00
..
accordion All: Remove usage of jQuery positional selectors 2020-01-22 16:44:34 +01:00
autocomplete Autocomplete: Shift to use no globals 2016-04-14 00:06:11 +05:30
button Button: Fix backcompat when called on collection of mixed elements 2017-05-02 15:11:24 -04:00
checkboxradio All: Migrate away from deprecated/removed Core APIs 2019-12-08 22:23:08 +01:00
controlgroup Controlgroup: Correctly handle non-empty child class key 2016-07-06 09:42:31 -04:00
core All: Migrate away from deprecated/removed Core APIs 2019-12-08 22:23:08 +01:00
datepicker All: Remove usage of jQuery positional selectors 2020-01-22 16:44:34 +01:00
dialog All: Remove usage of jQuery positional selectors 2020-01-22 16:44:34 +01:00
draggable All: Migrate away from deprecated/removed Core APIs 2019-12-08 22:23:08 +01:00
droppable Droppable: Shift to use no globals 2016-04-14 00:06:12 +05:30
effects All: Migrate away from deprecated/removed Core APIs 2019-12-08 22:23:08 +01:00
form-reset-mixin Form: Shift form-reset-mixin to use no globals 2016-04-14 00:06:12 +05:30
menu All: Remove usage of jQuery positional selectors 2020-01-22 16:44:34 +01:00
position Position: Shift to use no globals 2016-04-14 00:08:29 +05:30
progressbar Progressbar: Shift to use no globals 2016-04-14 00:08:29 +05:30
resizable Resizable: Keep user-provided handles on destroy 2017-04-17 14:58:12 -04:00
selectable Selectable: Shift to use no globals 2016-04-14 00:14:57 +05:30
selectmenu All: Migrate away from deprecated/removed Core APIs 2019-12-08 22:23:08 +01:00
slider Slider: Add demo for custom handle 2016-09-13 08:41:33 -04:00
sortable All: Remove usage of jQuery positional selectors 2020-01-22 16:44:34 +01:00
spinner All: Remove usage of jQuery positional selectors 2020-01-22 16:44:34 +01:00
tabs Tabs: Remove presentation role 2016-09-29 10:15:19 -04:00
tooltip Tooltip: Allow tracking tooltips to be off by a fraciton of a pixel 2016-07-07 09:16:52 -04:00
widget All: Migrate away from deprecated/removed Core APIs 2019-12-08 22:23:08 +01:00
all.html Tests: Only test latest patch versions for jQuery Core in TestSwarm 2016-07-08 12:51:44 -04:00
index.html Controlgroup: Inital commit of new widget 2015-10-07 10:57:59 -04:00
subsuite.js All: Migrate away from deprecated/removed Core APIs 2019-12-08 22:23:08 +01:00