Add _.iteratee alias of _.callback.

This commit is contained in:
John-David Dalton
2014-08-03 22:40:31 -07:00
parent 264f7b1d30
commit 48acda2c3c
2 changed files with 7 additions and 1 deletions

View File

@@ -8610,6 +8610,7 @@
*
* @static
* @memberOf _
* @alias iteratee
* @category Utility
* @param {*} [func=identity] The value to convert to a callback.
* @param {*} [thisArg] The `this` binding of the created callback.
@@ -9280,6 +9281,7 @@
lodash.each = forEach;
lodash.eachRight = forEachRight;
lodash.extend = assign;
lodash.iteratee = callback;
lodash.methods = functions;
lodash.object = zipObject;
lodash.select = filter;