jquery-ui/ui/widgets
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.js All: Remove usage of jQuery positional selectors 2020-01-22 16:44:34 +01:00
autocomplete.js All: Migrate away from deprecated/removed Core APIs 2019-12-08 22:23:08 +01:00
button.js All: Migrate away from deprecated/removed Core APIs 2019-12-08 22:23:08 +01:00
checkboxradio.js Form: Rename from .form() to ._form() since its not for public use 2016-10-11 10:15:04 -04:00
controlgroup.js All: Migrate away from deprecated/removed Core APIs 2019-12-08 22:23:08 +01:00
datepicker.js All: Remove usage of jQuery positional selectors 2020-01-22 16:44:34 +01:00
dialog.js All: Remove usage of jQuery positional selectors 2020-01-22 16:44:34 +01:00
draggable.js All: Migrate away from deprecated/removed Core APIs 2019-12-08 22:23:08 +01:00
droppable.js All: Migrate away from deprecated/removed Core APIs 2019-12-08 22:23:08 +01:00
menu.js All: Migrate away from deprecated/removed Core APIs 2019-12-08 22:23:08 +01:00
mouse.js Mouse: Fix line length issues 2016-04-13 11:31:45 -04:00
progressbar.js Progressbar: Disable maxLineLength for description meta 2016-04-13 11:32:12 -04:00
resizable.js All: Migrate away from deprecated/removed Core APIs 2019-12-08 22:23:08 +01:00
selectable.js Selectable: Proper handling of inner scrolling 2016-04-21 16:11:37 +02:00
selectmenu.js Selectmenu: Don't render options with the hidden attribute 2016-11-16 12:52:15 -05:00
slider.js All: Migrate away from deprecated/removed Core APIs 2019-12-08 22:23:08 +01:00
sortable.js All: Migrate away from deprecated/removed Core APIs 2019-12-08 22:23:08 +01:00
spinner.js All: Migrate away from deprecated/removed Core APIs 2019-12-08 22:23:08 +01:00
tabs.js All: Migrate away from deprecated/removed Core APIs 2019-12-08 22:23:08 +01:00
tooltip.js All: Migrate away from deprecated/removed Core APIs 2019-12-08 22:23:08 +01:00