aboutsummaryrefslogtreecommitdiffstats
path: root/src/queue/delay.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/queue/delay.js')
-rw-r--r--src/queue/delay.js12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/queue/delay.js b/src/queue/delay.js
index d471eedc5..fe3a6f6b7 100644
--- a/src/queue/delay.js
+++ b/src/queue/delay.js
@@ -1,10 +1,7 @@
-define( [
- "../core",
- "../queue",
- "../effects" // Delay is optional because of this dependency
-], function( jQuery ) {
+import jQuery from "../core.js";
-"use strict";
+import "../queue.js";
+import "../effects.js"; // Delay is optional because of this dependency
// Based off of the plugin by Clint Helfers, with permission.
// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/
@@ -19,6 +16,3 @@ jQuery.fn.delay = function( time, type ) {
};
} );
};
-
-return jQuery.fn.delay;
-} );