]> source.dussan.org Git - jquery.git/commit
Core:Selector: Move jQuery.contains from the selector to the core module
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Mon, 12 Dec 2022 21:27:59 +0000 (22:27 +0100)
committerGitHub <noreply@github.com>
Mon, 12 Dec 2022 21:27:59 +0000 (22:27 +0100)
commit024d87195ac46690023e2b0b308d4406a8a5a27e
tree7238b95beb38397175388af04006c08d1a1edf78
parentc909d6b1ff444e68618b6da13d9c21714f681925
Core:Selector: Move jQuery.contains from the selector to the core module

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.

Closes gh-5167
src/core.js
src/core/isAttached.js
src/selector-native.js
src/selector.js
src/selector/contains.js [deleted file]
test/unit/core.js
test/unit/selector.js