aboutsummaryrefslogtreecommitdiffstats
path: root/src/wrap.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrap.js')
-rw-r--r--src/wrap.js14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/wrap.js b/src/wrap.js
index a42c04da7..cd7636b8d 100644
--- a/src/wrap.js
+++ b/src/wrap.js
@@ -1,11 +1,8 @@
-define( [
- "./core",
- "./core/init",
- "./manipulation", // clone
- "./traversing" // parent, contents
-], function( jQuery ) {
+import jQuery from "./core.js";
-"use strict";
+import "./core/init.js";
+import "./manipulation.js"; // clone
+import "./traversing.js"; // parent, contents
jQuery.fn.extend( {
wrapAll: function( html ) {
@@ -73,5 +70,4 @@ jQuery.fn.extend( {
}
} );
-return jQuery;
-} );
+export default jQuery;