mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 08:57:49 +00:00
Add _.callback as an alias of _.createCallback.
This commit is contained in:
2
dist/lodash.underscore.js
vendored
2
dist/lodash.underscore.js
vendored
@@ -4597,6 +4597,7 @@
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @alias callback
|
||||
* @category Utilities
|
||||
* @param {*} [func=identity] The value to convert to a callback.
|
||||
* @param {*} [thisArg] The `this` binding of the created callback.
|
||||
@@ -5011,7 +5012,6 @@
|
||||
lodash.wrap = wrap;
|
||||
lodash.zip = zip;
|
||||
|
||||
// add aliases
|
||||
lodash.collect = map;
|
||||
lodash.drop = rest;
|
||||
lodash.each = forEach;
|
||||
|
||||
Reference in New Issue
Block a user