mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 00:57:48 +00:00
Add tests for _.support.funcDecomp and WinRTError.
This commit is contained in:
@@ -44,6 +44,8 @@
|
||||
Object._keys = Object.keys;
|
||||
Object.keys = function() {};
|
||||
|
||||
window.WinRTError = Error;
|
||||
|
||||
window.clearTimeout = (function(fn) {
|
||||
window._clearTimeout = fn;
|
||||
return function(id) {
|
||||
@@ -95,6 +97,8 @@
|
||||
} else {
|
||||
delete Object.keys;
|
||||
}
|
||||
window.WinRTError = undefined;
|
||||
|
||||
window.clearTimeout = _clearTimeout;
|
||||
window._clearTimeout = undefined;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user