Skip to content

Conversation

@mgol
Copy link
Member

@mgol mgol commented Nov 24, 2022

Summary

The jQuery.contains method is quite simple in jQuery 4+. On the other side, it's a dependency of the core isAttached util which is not ideal; moving it from the selector the core module resolves the issue.

-1 byte

Checklist

@mgol mgol added the Discuss in Meeting Reserved for Issues and PRs that anyone would like to discuss in the weekly meeting. label Dec 6, 2022
The `jQuery.contains` method is quite simple in jQuery 4+. On the other side,
it's a dependency of the core `isAttached` util which is not ideal; moving
it from the `selector` the `core` module resolves the issue.
@timmywil timmywil removed the Discuss in Meeting Reserved for Issues and PRs that anyone would like to discuss in the weekly meeting. label Dec 12, 2022
@mgol mgol removed the Needs review label Dec 12, 2022
@mgol mgol added this to the 4.0.0 milestone Dec 12, 2022
@mgol mgol merged commit 024d871 into jquery:main Dec 12, 2022
@mgol mgol deleted the contains-to-core branch December 12, 2022 21:28
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Development

Successfully merging this pull request may close these issues.

3 participants