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,select,compile,setDocument}#5263

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:mainfrommgol:expose-tokenize-v4
Jun 12, 2023

Conversation

@mgol
Copy link
Member

@mgolmgol commentedJun 1, 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.

Some other APIs so far only exposed on the3.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 forjQuery.find.tokenize - even Sizzle was
missing one.

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

3.x-stable version of this PR:#5260

+34 bytes

Checklist

@mgolmgol added this to the4.0.0 milestoneJun 1, 2023
@mgolmgol self-assigned thisJun 1, 2023
@mgolmgol mentioned this pull requestJun 1, 2023
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-5263Refjquery/sizzle#242Refjquerygh-5113Refjquerygh-4395Refjquerygh-4406
@mgolmgol changed the titleSelector: Re-expose jQuery.find.tokenizeSelector: Re-expose jQuery.find.{tokenize,select,compile,setDocument}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.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
@mgolmgolforce-pushed theexpose-tokenize-v4 branch fromfa84f00 to7c6a45bCompareJune 1, 2023 14:10
@mgolmgol merged commit338de35 intojquery:mainJun 12, 2023
@mgolmgol deleted the expose-tokenize-v4 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.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-5260Refgh-5263Refjquery/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

@timmywiltimmywiltimmywil approved these changes

Assignees

@mgolmgol

Labels

Milestone

4.0.0

Development

Successfully merging this pull request may close these issues.

Re-expose jQuery.find.tokenize

2 participants

@mgol@timmywil

[8]ページ先頭

©2009-2025 Movatter.jp