aboutsummaryrefslogtreecommitdiffstats
path: root/src/selector/escapeSelector.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/selector/escapeSelector.js')
-rw-r--r--src/selector/escapeSelector.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/selector/escapeSelector.js b/src/selector/escapeSelector.js
index 1d89c2f00..bc61355fa 100644
--- a/src/selector/escapeSelector.js
+++ b/src/selector/escapeSelector.js
@@ -1,8 +1,4 @@
-define( [
- "../core"
-], function( jQuery ) {
-
-"use strict";
+import jQuery from "../core.js";
// CSS string/identifier serialization
// https://drafts.csswg.org/cssom/#common-serializing-idioms
@@ -27,5 +23,3 @@ function fcssescape( ch, asCodePoint ) {
jQuery.escapeSelector = function( sel ) {
return ( sel + "" ).replace( rcssescape, fcssescape );
};
-
-} );