diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2015-06-14 19:21:57 +0200 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2015-06-17 12:29:49 +0200 |
commit | 219c7494938a10b985b7827990bc419e41585b10 (patch) | |
tree | 9e305db6cae35cf26a2b9e4367d3632b2a4b8793 /src/ajax.js | |
parent | b04124222395a05c80d4f1c3a70333fdb07bfe3d (diff) | |
download | jquery-219c7494938a10b985b7827990bc419e41585b10.tar.gz jquery-219c7494938a10b985b7827990bc419e41585b10.zip |
Core: Use window.setTimeout & friends instead of global equivalents
Fixes gh-2177
Diffstat (limited to 'src/ajax.js')
-rw-r--r-- | src/ajax.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ajax.js b/src/ajax.js index 70bb49691..21668165e 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -2,6 +2,8 @@ define([ "./core", "./var/document", "./var/rnotwhite", + "./var/setTimeout", + "./var/clearTimeout", "./ajax/var/location", "./ajax/var/nonce", "./ajax/var/rquery", @@ -9,7 +11,8 @@ define([ "./ajax/parseJSON", "./ajax/parseXML", "./deferred" -], function( jQuery, document, rnotwhite, location, nonce, rquery ) { +], function( jQuery, document, rnotwhite, setTimeout, clearTimeout, + location, nonce, rquery ) { var rhash = /#.*$/, |