aboutsummaryrefslogtreecommitdiffstats
path: root/3rd_party/static/testapi-ui/assets/lib/jquery/src/queue/delay.js
diff options
context:
space:
mode:
authorStamatis Katsaounis <mokats@intracom-telecom.com>2018-11-01 12:44:50 +0200
committerStamatis Katsaounis <mokats@intracom-telecom.com>2018-11-01 11:08:17 +0000
commit8ac6a7ef3809cb511b10494d9c1f4654db1e071e (patch)
treef9d7b80d863f4451ad2359c469366f7170475a4b /3rd_party/static/testapi-ui/assets/lib/jquery/src/queue/delay.js
parentc53c8c2b31b6734765f0f5638a8bb0e3bf3cff9b (diff)
Dynamically fetching javascript dependencies
JIRA: DOVETAIL-746 This patch deletes the source code of javascript dependencies from web portal. Furthermore, it uses npm to install them. Change-Id: Idc40606ff9e7286aa66421cbbe05f94d7ce9f7e6 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
Diffstat (limited to '3rd_party/static/testapi-ui/assets/lib/jquery/src/queue/delay.js')
-rw-r--r--3rd_party/static/testapi-ui/assets/lib/jquery/src/queue/delay.js24
1 files changed, 0 insertions, 24 deletions
diff --git a/3rd_party/static/testapi-ui/assets/lib/jquery/src/queue/delay.js b/3rd_party/static/testapi-ui/assets/lib/jquery/src/queue/delay.js
deleted file mode 100644
index d471eed..0000000
--- a/3rd_party/static/testapi-ui/assets/lib/jquery/src/queue/delay.js
+++ /dev/null
@@ -1,24 +0,0 @@
-define( [
- "../core",
- "../queue",
- "../effects" // Delay is optional because of this dependency
-], function( jQuery ) {
-
-"use strict";
-
-// 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/
-jQuery.fn.delay = function( time, type ) {
- time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;
- type = type || "fx";
-
- return this.queue( type, function( next, hooks ) {
- var timeout = window.setTimeout( next, time );
- hooks.stop = function() {
- window.clearTimeout( timeout );
- };
- } );
-};
-
-return jQuery.fn.delay;
-} );