aboutsummaryrefslogtreecommitdiffstats
path: root/src/var
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2015-06-17 12:55:59 +0200
committerMichał Gołębiowski <m.goleb@gmail.com>2015-06-17 12:59:01 +0200
commit842958e7aecd0d75a7ee9e2aaec83457701aa2f3 (patch)
treed9adb6f9644eee28f71ea233b18f2d60559c9ebc /src/var
parent219c7494938a10b985b7827990bc419e41585b10 (diff)
downloadjquery-842958e7aecd0d75a7ee9e2aaec83457701aa2f3.tar.gz
jquery-842958e7aecd0d75a7ee9e2aaec83457701aa2f3.zip
Core: Switch from modules to just window.setTimeout etc.
Using modules for window.setTimeout etc. made those functions cached and disabled Sinon mocking, making effects tests fail. Just writing window.setTimeout directly is smaller anyway.
Diffstat (limited to 'src/var')
-rw-r--r--src/var/clearInterval.js3
-rw-r--r--src/var/clearTimeout.js3
-rw-r--r--src/var/setInterval.js3
-rw-r--r--src/var/setTimeout.js3
4 files changed, 0 insertions, 12 deletions
diff --git a/src/var/clearInterval.js b/src/var/clearInterval.js
deleted file mode 100644
index b8fcf3155..000000000
--- a/src/var/clearInterval.js
+++ /dev/null
@@ -1,3 +0,0 @@
-define(function() {
- return window.clearInterval;
-});
diff --git a/src/var/clearTimeout.js b/src/var/clearTimeout.js
deleted file mode 100644
index ab77b074a..000000000
--- a/src/var/clearTimeout.js
+++ /dev/null
@@ -1,3 +0,0 @@
-define(function() {
- return window.clearTimeout;
-});
diff --git a/src/var/setInterval.js b/src/var/setInterval.js
deleted file mode 100644
index 7d9906b1d..000000000
--- a/src/var/setInterval.js
+++ /dev/null
@@ -1,3 +0,0 @@
-define(function() {
- return window.setInterval;
-});
diff --git a/src/var/setTimeout.js b/src/var/setTimeout.js
deleted file mode 100644
index cda6b55ad..000000000
--- a/src/var/setTimeout.js
+++ /dev/null
@@ -1,3 +0,0 @@
-define(function() {
- return window.setTimeout;
-});