From 25a1d74627967709d9ca2de7dc1dff3fa0864852 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 20 May 2013 22:52:34 -0700 Subject: [PATCH] Update test/underscore.html and test/backbone.html to account for `chain` existing in Lo-Dash. Former-commit-id: f815e7a3ac6e9cc6c048eab82acc32e462dbb021 --- test/backbone.html | 7 ------- test/underscore.html | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/test/backbone.html b/test/backbone.html index 13d283975..462c0e50d 100644 --- a/test/backbone.html +++ b/test/backbone.html @@ -33,13 +33,6 @@ 'debounce': lodash.debounce, 'defer': lodash.defer }); - if (!_.chain) { - _.mixin({ - 'chain': function(value) { - return new _(value); - } - }); - } diff --git a/test/underscore.html b/test/underscore.html index e93f26d98..5fd8e650b 100644 --- a/test/underscore.html +++ b/test/underscore.html @@ -34,7 +34,7 @@ push = arrayProto.push, slice = arrayProto.slice; - if (_.chain) { + if (_.chain().__chain__) { return; } _.mixin = function(object) {