aboutsummaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2022-11-21 23:23:39 +0100
committerGitHub <noreply@github.com>2022-11-21 23:23:39 +0100
commit4c1171f2ed62584211250df0af8302d34c04621a (patch)
treeba1f6a5a977f32ca3dd67396458ca6bca602fe0e /Gruntfile.js
parentf62d8e2159baf1eabf3b760b85b2dda56d569a09 (diff)
downloadjquery-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.js6
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" ]
}
}
},