Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Selector: Re-expose jQuery.find.tokenize (3.x version)#5260

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mgol merged 1 commit intojquery:3.x-stablefrommgol:expose-tokenize
Jun 12, 2023

Conversation

@mgol
Copy link
Member

@mgolmgol commentedMay 29, 2023
edited
Loading

Summary

Sizzle.tokenize is an internal Sizzle API, but exposed. As a result, it has historically been available in jQuery viajQuery.find.tokenize. That got dropped during Sizzle removal; this change restores the API.

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 forjQuery.find.tokenize - even Sizzle was missing one.

Fixesgh-5259
Refjquery/sizzle#242
Refgh-5113
Refgh-4395
Refgh-4406

main version of this PR:#5263

+8 bytes

Checklist

  • New tests have been added to show the fix or feature works
  • Grunt build and unit tests pass locally with these changes
  • If needed, a docs issue/PR was created athttps://github.com/jquery/api.jquery.com

@mgolmgol added this to the3.7.1 milestoneMay 29, 2023
@mgolmgol self-assigned thisMay 29, 2023
@mgolmgol mentioned this pull requestMay 29, 2023
@mgolmgolforce-pushed theexpose-tokenize branch 3 times, most recently from1f728e5 to73f95a8CompareMay 29, 2023 22:37
Copy link
Member

@timmywiltimmywil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM

@mgolmgolforce-pushed theexpose-tokenize branch 2 times, most recently froma4df550 to767ecb4CompareMay 31, 2023 17:01
mgol added a commit to mgol/jquery that referenced this pull requestJun 1, 2023
`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.In addition to that, Sizzle tests have been backported for the followingAPIs:* `jQuery.find.matchesSelector`* `jQuery.find.matches`* `jQuery.find.compile`* `jQuery.find.select`A new test was also added for `jQuery.find.tokenize` - even Sizzle wasmissing one.Fixesjquerygh-5259Refjquerygh-5260Refjquery/sizzle#242Refjquerygh-5113Refjquerygh-4395Refjquerygh-4406
@mgolmgol changed the titleSelector: Re-expose jQuery.find.tokenizeSelector: Re-expose jQuery.find.tokenize (3.x version)Jun 1, 2023
`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.In addition to that, Sizzle tests have been backported for the followingAPIs:* `jQuery.find.matchesSelector`* `jQuery.find.matches`* `jQuery.find.compile`* `jQuery.find.select`A new test was also added for `jQuery.find.tokenize` - even Sizzle wasmissing one.Fixesjquerygh-5259Refjquerygh-5263Refjquery/sizzle#242Refjquerygh-5113Refjquerygh-4395Refjquerygh-4406
mgol added a commit to mgol/jquery that referenced this pull requestJun 1, 2023
`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 addedback:* `jQuery.find.select`* `jQuery.find.compile`* `jQuery.find.setDocument`In addition to that, Sizzle tests have been backported for the followingAPIs:* `jQuery.find.matchesSelector`* `jQuery.find.matches`* `jQuery.find.compile`* `jQuery.find.select`A new test was also added for `jQuery.find.tokenize` - even Sizzle wasmissing one.Fixesjquerygh-5259Refjquerygh-5260Refjquery/sizzle#242Refjquerygh-5113Refjquerygh-4395Refjquerygh-4406
@mgolmgol merged commit13a870b intojquery:3.x-stableJun 12, 2023
@mgolmgol deleted the expose-tokenize branchJune 12, 2023 20:58
mgol added a commit that referenced this pull requestJun 12, 2023
`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 addedback:* `jQuery.find.select`* `jQuery.find.compile`* `jQuery.find.setDocument`In addition to that, Sizzle tests have been backported for the followingAPIs:* `jQuery.find.matchesSelector`* `jQuery.find.matches`* `jQuery.find.compile`* `jQuery.find.select`A new test was also added for `jQuery.find.tokenize` - even Sizzle wasmissing one.Fixesgh-5259Closesgh-5263Refgh-5260Refjquery/sizzle#242Refgh-5113Refgh-4395Refgh-4406
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsSep 24, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@KrinkleKrinkleKrinkle approved these changes

@timmywiltimmywiltimmywil approved these changes

Assignees

@mgolmgol

Labels

Milestone

3.7.1

Development

Successfully merging this pull request may close these issues.

3 participants

@mgol@Krinkle@timmywil

[8]ページ先頭

©2009-2025 Movatter.jp