diff --git a/test/backbone.html b/test/backbone.html index 462c0e50d..66b0ef7ca 100644 --- a/test/backbone.html +++ b/test/backbone.html @@ -30,8 +30,8 @@ diff --git a/test/underscore.html b/test/underscore.html index 67adf1ac6..54de9cc9b 100644 --- a/test/underscore.html +++ b/test/underscore.html @@ -31,7 +31,7 @@ push = arrayProto.push, slice = arrayProto.slice; - if (lodash.chain && lodash.chain().__chain__) { + if (lodash().each().__chain__) { return; } lodash.mixin = function(object) { @@ -53,31 +53,6 @@ lodash.mixin(lodash); - lodash.chain = function(value) { - value = new lodash(value); - value.__chain__ = true; - return value; - }; - - lodash.prototype.chain = function() { - this.__chain__ = true; - return this; - }; - - lodash.prototype.concat = function() { - var result = concat.apply(this.__wrapped__, arguments); - if (this.__chain__) { - result = new lodash(result); - result.__chain__ = true; - } - return result; - }; - - lodash.prototype.pop = function() { - pop.apply(this.__wrapped__, arguments); - return this; - }; - // expose lodash window._ = lodash; }