Add _.chain alias of _. [closes #267]

Former-commit-id: 580e4346444096c7fa77cfc5cf2c68b6cf891fcf
This commit is contained in:
John-David Dalton
2013-05-11 00:59:48 -07:00
parent 9bd0c01702
commit 5841e62c66
9 changed files with 56 additions and 28 deletions

View File

@@ -280,6 +280,7 @@
*
* @name _
* @constructor
* @alias chain
* @category Chaining
* @param {Mixed} value The value to wrap in a `lodash` instance.
* @returns {Object} Returns a `lodash` instance.
@@ -5375,6 +5376,7 @@
lodash.zipObject = zipObject;
// add aliases
lodash.chain = lodash;
lodash.collect = map;
lodash.drop = rest;
lodash.each = forEach;