jquery-ui/demos
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 Demos: Add device-width viewport meta to all demos 2015-09-30 17:07:38 +02:00
autocomplete All: Migrate away from deprecated/removed Core APIs 2019-12-08 22:23:08 +01:00
button Button: address review comments 2015-10-08 14:02:57 -04:00
checkboxradio Demos: Optimize *.png with zopflipng 2016-08-24 12:01:45 -04:00
controlgroup Controlgroup: Fix rendering of labels 2016-05-26 09:15:48 -04:00
datepicker Demos: Add device-width viewport meta to all demos 2015-09-30 17:07:38 +02:00
dialog All: Replace non-breaking spaces with regular spaces 2016-06-08 13:03:42 -04:00
draggable Draggable: Change element ids in demo 2015-11-09 09:51:21 -05:00
droppable Demos: Add device-width viewport meta to all demos 2015-09-30 17:07:38 +02:00
effect Demos: Fix a typo with an extra semicolon 2017-05-10 12:32:40 -04:00
images Demos/tests: Losslessly recompress PNG/GIF images. 2013-08-26 10:18:15 -04:00
menu Demos: Add device-width viewport meta to all demos 2015-09-30 17:07:38 +02:00
position All: Remove usage of jQuery positional selectors 2020-01-22 16:44:34 +01:00
progressbar Demos: Add device-width viewport meta to all demos 2015-09-30 17:07:38 +02:00
resizable Demos: Add device-width viewport meta to all demos 2015-09-30 17:07:38 +02:00
selectable Demos: Add device-width viewport meta to all demos 2015-09-30 17:07:38 +02:00
selectmenu Themes: Optimize PNG files with zopflipng 2016-11-29 09:42:36 -05:00
slider Slider: Add demo for custom handle 2016-09-13 08:41:33 -04:00
sortable Sortable: Remove reference to .disableSelection() from demos 2019-12-09 21:13:03 +01:00
spinner Demos: Add device-width viewport meta to all demos 2015-09-30 17:07:38 +02:00
tabs Tabs: Don't blur focused tab on sort 2016-10-12 13:14:28 -04:00
tooltip All: Migrate away from deprecated/removed Core APIs 2019-12-08 22:23:08 +01:00
widget Demos: Link widget demo to learn site 2015-10-30 11:51:27 -04:00
bootstrap.js Demos: Replace with ffb33daa229c62c7095cff39cde034f84ef54b15 2015-10-08 14:02:59 -04:00
demos.css Demos: Add new infrastructure using a require.js bootstrap 2015-07-21 11:00:40 -04:00
index.html Controlgroup: Inital commit of new widget 2015-10-07 10:57:59 -04:00