mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 01:47:48 +00:00
Add _.chain alias of _. [closes #267]
Former-commit-id: 580e4346444096c7fa77cfc5cf2c68b6cf891fcf
This commit is contained in:
4
dist/lodash.underscore.js
vendored
4
dist/lodash.underscore.js
vendored
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user