diff --git a/test/index.html b/test/index.html index 2321655ba..319855464 100644 --- a/test/index.html +++ b/test/index.html @@ -22,6 +22,9 @@ Array._isArray = Array.isArray; Array.isArray = function() { return false; }; + Date._now = Date.now; + Date.now = function() {}; + Function.prototype._bind = Function.prototype.bind; Function.prototype.bind = function() { return function() {}; }; @@ -34,7 +37,7 @@ Object._keys = Object.keys; Object.keys = function() { return []; }; - // load Lo-Dash and expose it to the bad `Object.keys` shim + // load Lo-Dash and expose it to the bad shims document.write('