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

@@ -2209,6 +2209,10 @@
skipTest();
}
});
test('should be aliased', 1, function() {
strictEqual(_.iteratee, _.callback);
});
}());
/*--------------------------------------------------------------------------*/
@@ -11893,7 +11897,7 @@
var acceptFalsey = _.difference(allMethods, rejectFalsey);
test('should accept falsey arguments', 193, function() {
test('should accept falsey arguments', 194, function() {
var emptyArrays = _.map(falsey, _.constant([])),
isExposed = '_' in root,
oldDash = root._;