aboutsummaryrefslogtreecommitdiffstats
path: root/src/selector.js
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2024-01-12 01:18:03 +0100
committerGitHub <noreply@github.com>2024-01-12 01:18:03 +0100
commite06ff08849057cd099365bf43598c8952fe9956d (patch)
treed9c545a188d34df174557ad23d1067c91e848fe8 /src/selector.js
parent56139394705022e4f6756440030ad6f3bf35f5a6 (diff)
downloadjquery-e06ff08849057cd099365bf43598c8952fe9956d.tar.gz
jquery-e06ff08849057cd099365bf43598c8952fe9956d.zip
Selector: Make `selector.js` module depend on `attributes/attr.js`
This fixes custom builds using the `--include` switch that don't include the `attributes` module. Fixes gh-5379 Closes gh-5384 Co-authored-by: Richard Gibson <richard.gibson@gmail.com>
Diffstat (limited to 'src/selector.js')
-rw-r--r--src/selector.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/selector.js b/src/selector.js
index d71e65ad4..da535718e 100644
--- a/src/selector.js
+++ b/src/selector.js
@@ -9,7 +9,6 @@ import { rbuggyQSA } from "./selector/rbuggyQSA.js";
import { rtrimCSS } from "./var/rtrimCSS.js";
import { isIE } from "./var/isIE.js";
import { identifier } from "./selector/var/identifier.js";
-import { booleans } from "./selector/var/booleans.js";
import { rleadingCombinator } from "./selector/var/rleadingCombinator.js";
import { rdescend } from "./selector/var/rdescend.js";
import { rsibling } from "./selector/var/rsibling.js";
@@ -24,6 +23,7 @@ import { tokenize } from "./selector/tokenize.js";
import { toSelector } from "./selector/toSelector.js";
// The following utils are attached directly to the jQuery object.
+import "./attributes/attr.js"; // jQuery.attr
import "./selector/escapeSelector.js";
import "./selector/uniqueSort.js";
@@ -50,7 +50,6 @@ var i,
ridentifier = new RegExp( "^" + identifier + "$" ),
matchExpr = jQuery.extend( {
- bool: new RegExp( "^(?:" + booleans + ")$", "i" ),
// For use in libraries implementing .is()
// We use this for POS matching in `select`