jquery-ui/ui
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
..
effects Effects: Disable maxLineLength for description meta explode 2016-04-13 11:32:19 -04:00
i18n Datepicker: Fix typo in currentText in da localization 2019-12-09 21:11:13 +01:00
widgets All: Remove usage of jQuery positional selectors 2020-01-22 16:44:34 +01:00
.jshintrc Widget: Style updates 2015-09-16 12:45:54 -04:00
core.js Core: Remove header and manifest 2015-10-23 09:25:15 -04:00
data.js Core: Fix JQMIGRATE warning about jQuery.expr[":"] 2017-05-02 15:28:51 -04:00
disable-selection.js Core: Move disable-selection into its own module 2015-08-08 00:29:36 -04:00
effect.js All: Use expr.pseudos instead of deprecated expr.filters 2019-12-08 22:27:16 +01:00
escape-selector.js Core: Move escape selector into its own module 2015-08-08 00:29:36 -04:00
focusable.js Core: Fix JQMIGRATE warning about jQuery.expr[":"] 2017-05-02 15:28:51 -04:00
form-reset-mixin.js Form: Rename from .form() to ._form() since its not for public use 2016-10-11 10:15:04 -04:00
form.js Form: Rename from .form() to ._form() since its not for public use 2016-10-11 10:15:04 -04:00
ie.js Core: Move $.ui.ie into its own module 2015-08-08 00:29:36 -04:00
jquery-1-7.js All: Remove usage of jQuery positional selectors 2020-01-22 16:44:34 +01:00
keycode.js Core: Move keyCode into its own module 2015-08-08 00:29:36 -04:00
labels.js Labels: Handle empty sets 2017-05-02 12:42:49 -04:00
plugin.js Plugin: Fix line length issues 2016-04-13 11:32:07 -04:00
position.js All: Migrate away from deprecated/removed Core APIs 2019-12-08 22:23:08 +01:00
safe-active-element.js Core: Move safeActiveElement into its own module 2015-08-08 00:29:36 -04:00
safe-blur.js Core: Move safe blur into its own module 2015-08-08 00:29:37 -04:00
scroll-parent.js Scroll Parent: Fix line length issues 2016-04-13 11:31:59 -04:00
tabbable.js Core: Fix JQMIGRATE warning about jQuery.expr[":"] 2017-05-02 15:28:51 -04:00
unique-id.js Core: Movie uniqueId into its own module and deprecate core module 2015-08-08 00:29:37 -04:00
version.js Core: Move version and creation of the ui namespace into its own module 2015-08-08 00:29:35 -04:00
widget.js All: Migrate away from deprecated/removed Core APIs 2019-12-08 22:23:08 +01:00