diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2024-01-12 01:18:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-12 01:18:03 +0100 |
commit | e06ff08849057cd099365bf43598c8952fe9956d (patch) | |
tree | d9c545a188d34df174557ad23d1067c91e848fe8 /src/selector-native.js | |
parent | 56139394705022e4f6756440030ad6f3bf35f5a6 (diff) | |
download | jquery-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-native.js')
-rw-r--r-- | src/selector-native.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/selector-native.js b/src/selector-native.js index afb60f227..b245e3350 100644 --- a/src/selector-native.js +++ b/src/selector-native.js @@ -25,7 +25,6 @@ import { jQuery } from "./core.js"; import { document } from "./var/document.js"; import { whitespace } from "./var/whitespace.js"; import { isIE } from "./var/isIE.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"; @@ -41,7 +40,6 @@ import "./selector/escapeSelector.js"; import "./selector/uniqueSort.js"; var matchExpr = jQuery.extend( { - bool: new RegExp( "^(?:" + booleans + ")$", "i" ), needsContext: new RegExp( "^" + whitespace + "*[>+~]" ) }, filterMatchExpr ); |