mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
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.
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
define(function() {
|
||||
return window.clearInterval;
|
||||
});
|
||||
@@ -1,3 +0,0 @@
|
||||
define(function() {
|
||||
return window.clearTimeout;
|
||||
});
|
||||
@@ -1,3 +0,0 @@
|
||||
define(function() {
|
||||
return window.setInterval;
|
||||
});
|
||||
@@ -1,3 +0,0 @@
|
||||
define(function() {
|
||||
return window.setTimeout;
|
||||
});
|
||||
Reference in New Issue
Block a user