aboutsummaryrefslogtreecommitdiffstats
path: root/src/selector.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/selector.js')
-rw-r--r--src/selector.js35
1 files changed, 14 insertions, 21 deletions
diff --git a/src/selector.js b/src/selector.js
index 8033f1115..019f25d62 100644
--- a/src/selector.js
+++ b/src/selector.js
@@ -1,22 +1,17 @@
-define( [
- "./core",
- "./core/nodeName",
- "./var/document",
- "./var/documentElement",
- "./var/indexOf",
- "./var/pop",
- "./var/push",
- "./selector/rbuggyQSA",
- "./selector/support",
-
- // The following utils are attached directly to the jQuery object.
- "./selector/contains",
- "./selector/escapeSelector",
- "./selector/uniqueSort"
-], function( jQuery, nodeName, document, documentElement, indexOf, pop, push,
- rbuggyQSA, support ) {
-
-"use strict";
+import jQuery from "./core.js";
+import nodeName from "./core/nodeName.js";
+import document from "./var/document.js";
+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 rbuggyQSA from "./selector/rbuggyQSA.js";
+import support from "./selector/support.js";
+
+// The following utils are attached directly to the jQuery object.
+import "./selector/contains.js";
+import "./selector/escapeSelector.js";
+import "./selector/uniqueSort.js";
var preferredDoc = document,
matches = documentElement.matches || documentElement.msMatchesSelector;
@@ -1642,5 +1637,3 @@ setDocument();
jQuery.find = find;
} )();
-
-} );