diff options
Diffstat (limited to 'src/selector.js')
-rw-r--r-- | src/selector.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/selector.js b/src/selector.js index 019f25d62..66abe7935 100644 --- a/src/selector.js +++ b/src/selector.js @@ -5,6 +5,7 @@ import documentElement from "./var/documentElement.js"; import indexOf from "./var/indexOf.js"; import pop from "./var/pop.js"; import push from "./var/push.js"; +import whitespace from "./selector/var/whitespace.js"; import rbuggyQSA from "./selector/rbuggyQSA.js"; import support from "./selector/support.js"; @@ -41,9 +42,6 @@ var i, // Regular expressions - // https://www.w3.org/TR/css3-selectors/#whitespace - whitespace = "[\\x20\\t\\r\\n\\f]", - // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", |