aboutsummaryrefslogtreecommitdiffstats
path: root/src/deprecated.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/deprecated.js')
-rw-r--r--src/deprecated.js12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/deprecated.js b/src/deprecated.js
index 11728081c..b7879c208 100644
--- a/src/deprecated.js
+++ b/src/deprecated.js
@@ -1,11 +1,8 @@
-define( [
- "./core",
- "./var/slice",
- "./var/trim",
- "./event/alias"
-], function( jQuery, slice, trim ) {
+import jQuery from "./core.js";
+import slice from "./var/slice.js";
+import trim from "./var/trim.js";
-"use strict";
+import "./event/alias.js";
jQuery.fn.extend( {
@@ -70,4 +67,3 @@ jQuery.holdReady = function( hold ) {
jQuery.trim = function( text ) {
return text == null ? "" : trim.call( text );
};
-} );