Skip to content

jQuery.find: Backport Sizzle wiki to an API page #1279

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 27, 2025
Merged

Conversation

mgol
Copy link
Member

@mgol mgol commented May 25, 2025

This change migrates most of https://github.com/jquery/sizzle/wiki to an API
page. Contrary to most other pages, each API didn't get its own XML <entry>
with a full signature to save time. This can be further improved in the future.

A Note section has been added, explaining the qSA to custom traversal fallback
mechanism of jQuery.

The browser support section has not been migrated as jQuery has different
browser support than Sizzle and it'd be irrelevant here.

Sizzle mentions have been replaced with jQuery.find or jQuery.

Fixes gh-1224

mgol added 3 commits May 25, 2025 14:43
This change migrates most of https://github.com/jquery/sizzle/wiki to an API
page. Contrary to most other pages, each API didn't get its own XML `<entry>`
with a full signature to save time. This can be further improved in the future.

A Note section has been added, explaining the qSA to custom traversal fallback
mechanism of jQuery.

The browser support section has not been migrated as jQuery has different
browser support than Sizzle and it'd be irrelevant here.

Sizzle mentions have been replaced with `jQuery.find` or jQuery.

Fixes jquerygh-1224
Remove the "Backwards-compatible plugins for pseudos with arguments" section.
It's no longer supported in jQuery 4.0 and it's pretty low-level anwyay.
@mgol mgol self-assigned this May 25, 2025
@mgol mgol added Discuss in Meeting Reserved for Issues and PRs that anyone would like to discuss in the weekly meeting. Needs review labels May 25, 2025
Copy link
Member

@gibson042 gibson042 left a comment

Choose a reason for hiding this comment

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

Nice!

@mgol mgol merged commit bf3d568 into jquery:main May 27, 2025
3 checks passed
@mgol mgol deleted the jquery-find branch May 27, 2025 16:40
@mgol mgol removed Needs review Discuss in Meeting Reserved for Issues and PRs that anyone would like to discuss in the weekly meeting. labels May 27, 2025
@mgol
Copy link
Member Author

mgol commented May 27, 2025

The page is live: https://api.jquery.com/jQuery.find/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Add Sizzle wiki as API page
2 participants