Make _.chain use lodash instead of lodashWrapper.

This commit is contained in:
John-David Dalton
2014-06-18 21:38:55 -07:00
parent e2cd275ac5
commit 9a9b17d38d

View File

@@ -3883,7 +3883,9 @@
* // => 'pebbles is 1' * // => 'pebbles is 1'
*/ */
function chain(value) { function chain(value) {
return new lodashWrapper(value, true); var result = lodash(value);
result.__chain__ = true;
return result;
} }
/** /**