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

@@ -182,6 +182,7 @@
*
* @name _
* @constructor
* @alias chain
* @category Chaining
* @param {Mixed} value The value to wrap in a `lodash` instance.
* @returns {Object} Returns a `lodash` instance.
@@ -4275,6 +4276,7 @@
lodash.zip = zip;
// add aliases
lodash.chain = chain;
lodash.collect = map;
lodash.drop = rest;
lodash.each = forEach;
@@ -4348,8 +4350,6 @@
/*--------------------------------------------------------------------------*/
lodash.chain = chain;
/**
* The semantic version number.
*