aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax/load.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ajax/load.js')
-rw-r--r--src/ajax/load.js19
1 files changed, 7 insertions, 12 deletions
diff --git a/src/ajax/load.js b/src/ajax/load.js
index 574d6b4a7..9a91b990b 100644
--- a/src/ajax/load.js
+++ b/src/ajax/load.js
@@ -1,14 +1,11 @@
-define( [
- "../core",
- "../core/stripAndCollapse",
- "../core/parseHTML",
- "../ajax",
- "../traversing",
- "../manipulation",
- "../selector"
-], function( jQuery, stripAndCollapse ) {
+import jQuery from "../core.js";
+import stripAndCollapse from "../core/stripAndCollapse.js";
-"use strict";
+import "../core/parseHTML.js";
+import "../ajax.js";
+import "../traversing.js";
+import "../manipulation.js";
+import "../selector.js";
/**
* Load a url into a page
@@ -72,5 +69,3 @@ jQuery.fn.load = function( url, params, callback ) {
return this;
};
-
-} );