aboutsummaryrefslogtreecommitdiffstats
path: root/src/serialize.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/serialize.js')
-rw-r--r--src/serialize.js18
1 files changed, 7 insertions, 11 deletions
diff --git a/src/serialize.js b/src/serialize.js
index 6743b78e9..a25097edc 100644
--- a/src/serialize.js
+++ b/src/serialize.js
@@ -1,13 +1,10 @@
-define( [
- "./core",
- "./core/toType",
- "./var/rcheckableType",
- "./core/init",
- "./traversing", // filter
- "./attributes/prop"
-], function( jQuery, toType, rcheckableType ) {
+import jQuery from "./core.js";
+import toType from "./core/toType.js";
+import rcheckableType from "./var/rcheckableType.js";
-"use strict";
+import "./core/init.js";
+import "./traversing.js"; // filter
+import "./attributes/prop.js";
var
rbracket = /\[\]$/,
@@ -131,5 +128,4 @@ jQuery.fn.extend( {
}
} );
-return jQuery;
-} );
+export default jQuery;