mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Core: Use window.setTimeout & friends instead of global equivalents
Fixes gh-2177
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user