Core: Use window.setTimeout & friends instead of global equivalents

Fixes gh-2177
This commit is contained in:
Michał Gołębiowski
2015-06-14 19:21:57 +02:00
parent b041242223
commit 219c749493
10 changed files with 28 additions and 9 deletions

View File

@@ -1,8 +1,10 @@
define([
"../core",
"../var/setTimeout",
"../var/clearTimeout",
"../queue",
"../effects" // Delay is optional because of this dependency
], function( jQuery ) {
], function( jQuery, setTimeout, clearTimeout ) {
// Based off of the plugin by Clint Helfers, with permission.
// http://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/