mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 10:17:48 +00:00
Fix IE compat mode bug with clearTimeout and setTimeout in test/index.html.
This commit is contained in:
@@ -111,6 +111,12 @@
|
|||||||
delete Object._keys;
|
delete Object._keys;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Avoid a bug in IE compat mode where, under certain
|
||||||
|
// circumstances, timer API like `setTimeout` maybe
|
||||||
|
// not be the same as `window.setTimeout`.
|
||||||
|
window.clearTimeout = window.clearTimeout;
|
||||||
|
window.setTimeout = window.setTimeout;
|
||||||
|
|
||||||
addBizarroMethods();
|
addBizarroMethods();
|
||||||
|
|
||||||
// load Lo-Dash and expose it to the bad extensions/shims
|
// load Lo-Dash and expose it to the bad extensions/shims
|
||||||
|
|||||||
Reference in New Issue
Block a user