diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2022-11-21 23:23:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-21 23:23:39 +0100 |
commit | 4c1171f2ed62584211250df0af8302d34c04621a (patch) | |
tree | ba1f6a5a977f32ca3dd67396458ca6bca602fe0e /Gruntfile.js | |
parent | f62d8e2159baf1eabf3b760b85b2dda56d569a09 (diff) | |
download | jquery-4c1171f2ed62584211250df0af8302d34c04621a.tar.gz jquery-4c1171f2ed62584211250df0af8302d34c04621a.zip |
Selector: Re-introduce selector-native.js
Re-introduce the `selector-native` similar to the one on the `3.x-stable`
branch. One difference is since the `main` branch inlined Sizzle, some
selector utils can be shared between the main `selector` module and
`selector-native`.
The main `selector` module can be disabled in favor of `selector-native`
via:
grunt custom:-selector
Other changes:
* Tests: Fix Safari detection - Chrome Headless has a different user
agent than Safari and a browser check in selector tests didn't take
that into account.
* Tests: Run selector-native tests in `npm test`
* Selector: Fix querying on document fragments
Ref gh-4395
Closes gh-5085
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 687b3215c..3a56cb4e4 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -61,8 +61,7 @@ module.exports = function( grunt ) { all: { dest: "dist/jquery.js", minimum: [ - "core", - "selector" + "core" ], // Exclude specified modules if the module matching the key is removed @@ -75,7 +74,8 @@ module.exports = function( grunt ) { remove: [ "ajax", "effects", "queue", "core/ready" ], include: [ "core/ready-no-deferred" ] }, - event: [ "deprecated/ajax-event-alias", "deprecated/event" ] + event: [ "deprecated/ajax-event-alias", "deprecated/event" ], + selector: [ "css/hiddenVisibleSelectors", "effects/animatedSelector" ] } } }, |