Skip to content
The official jQuery user interface library.
JavaScript HTML CSS
Branch: master
Clone or download
mgol 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
Latest commit 0c860b0 Jan 22, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build All: Migrate away from deprecated/removed Core APIs Dec 8, 2019
demos All: Remove usage of jQuery positional selectors Jan 22, 2020
external All: Migrate away from deprecated/removed Core APIs Dec 8, 2019
tests All: Remove usage of jQuery positional selectors Jan 22, 2020
themes/base Slider: Use `cursor: pointer` on handles Apr 12, 2017
ui All: Remove usage of jQuery positional selectors Jan 22, 2020
.csslintrc Build: Remove duplicate box-sizing from .csslintrc Oct 8, 2015
.editorconfig Exempt external directory from .editorconfig rules Oct 22, 2012
.gitattributes Build: Force LF for JS source files Mar 5, 2014
.gitignore All: Migrate away from deprecated/removed Core APIs Dec 8, 2019
.jscsrc Build: Remove maxLineLength execption in .jscsrc Apr 13, 2016
.jshintrc Build: Add demos to jscs and jshint Jul 21, 2015
.mailmap Build: Add my new name to .mailmap, update it in AUTHORS.txt Dec 8, 2019
.travis.yml Build: Run Travis tests on Node.js 6, not 0.12 Nov 2, 2016
AUTHORS.txt Build: Add my new name to .mailmap, update it in AUTHORS.txt Dec 8, 2019
CONTRIBUTING.md CONTRIBUTING: Replace grunt commands with npm Aug 24, 2016
Gruntfile.js All: Migrate away from deprecated/removed Core APIs Dec 8, 2019
LICENSE.txt Build: Remove dates from copyright notice Jan 2, 2015
README.md README: Remove section on building jQuery UI Sep 16, 2015
bower.json All: Migrate away from deprecated/removed Core APIs Dec 8, 2019
package.json Build: Add jQuery as explicit dependency, with min and max range Jan 25, 2017

README.md

jQuery UI - Interactions and Widgets for the web

jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of jQuery. Whether you're building highly interactive web applications, or you just need to add a date picker to a form control, jQuery UI is the perfect choice.

If you want to use jQuery UI, go to jqueryui.com to get started, jqueryui.com/demos/ for demos, api.jqueryui.com for API documentation, or the Using jQuery UI Forum for discussions and questions.

If you want to report a bug/issue, please visit bugs.jqueryui.com.

If you are interested in helping develop jQuery UI, you are in the right place. To discuss development with team members and the community, visit the Developing jQuery UI Forum or #jqueryui-dev on irc.freenode.net.

For Contributors

If you want to help and provide a patch for a bugfix or new feature, please take a few minutes and look at our Getting Involved guide. In particular check out the Coding standards and Commit Message Style Guide.

In general, fork the project, create a branch for a specific change and send a pull request for that branch. Don't mix unrelated changes. You can use the commit message as the description for the pull request.

For more information, see the contributing page.

Running the Unit Tests

Run the unit tests manually with appropriate browsers and any local web server. See our environment setup and information on running tests.

You can also run the unit tests inside phantomjs by setting up your environment.

You can’t perform that action at this time.