diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2023-06-12 22:58:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-12 22:58:55 +0200 |
commit | 338de3599039a3ba906214e656bcbe637430c37d (patch) | |
tree | 8e7e9f0c3b9e75e2a8b97596c0c6809a2953229c /.eslintrc-browser.json | |
parent | 27303c6be09b8fc24c13454deae234e480cbf995 (diff) | |
download | jquery-338de3599039a3ba906214e656bcbe637430c37d.tar.gz jquery-338de3599039a3ba906214e656bcbe637430c37d.zip |
Selector: Re-expose jQuery.find.{tokenize,select,compile,setDocument}
`Sizzle.tokenize` is an internal Sizzle API, but exposed. As a result,
it has historically been available in jQuery via `jQuery.find.tokenize`.
That got dropped during Sizzle removal; this change restores the API.
Some other APIs so far only exposed on the `3.x` line are also added
back:
* `jQuery.find.select`
* `jQuery.find.compile`
* `jQuery.find.setDocument`
In addition to that, Sizzle tests have been backported for the following
APIs:
* `jQuery.find.matchesSelector`
* `jQuery.find.matches`
* `jQuery.find.compile`
* `jQuery.find.select`
A new test was also added for `jQuery.find.tokenize` - even Sizzle was
missing one.
Fixes gh-5259
Closes gh-5263
Ref gh-5260
Ref jquery/sizzle#242
Ref gh-5113
Ref gh-4395
Ref gh-4406
Diffstat (limited to '.eslintrc-browser.json')
0 files changed, 0 insertions, 0 deletions