From 9a9b17d38dadc231a3a5a52d1a18c28882b6b8d8 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Wed, 18 Jun 2014 21:38:55 -0700 Subject: [PATCH] Make `_.chain` use `lodash` instead of `lodashWrapper`. --- lodash.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index d9b2c0b96..3b7efd5f1 100644 --- a/lodash.js +++ b/lodash.js @@ -3883,7 +3883,9 @@ * // => 'pebbles is 1' */ function chain(value) { - return new lodashWrapper(value, true); + var result = lodash(value); + result.__chain__ = true; + return result; } /**