Bump to v4.16.5.

This commit is contained in:
John-David Dalton
2016-10-30 20:06:57 -07:00
parent 52a75b18e4
commit b58a63eff1
112 changed files with 494 additions and 517 deletions

View File

@@ -1,4 +1,4 @@
define(['./_arrayEachRight', './_baseEachRight', './_baseIteratee', './isArray'], function(arrayEachRight, baseEachRight, baseIteratee, isArray) {
define(['./_arrayEachRight', './_baseEachRight', './_castFunction', './isArray'], function(arrayEachRight, baseEachRight, castFunction, isArray) {
/**
* This method is like `_.forEach` except that it iterates over elements of
@@ -22,7 +22,7 @@ define(['./_arrayEachRight', './_baseEachRight', './_baseIteratee', './isArray']
*/
function forEachRight(collection, iteratee) {
var func = isArray(collection) ? arrayEachRight : baseEachRight;
return func(collection, baseIteratee(iteratee, 3));
return func(collection, castFunction(iteratee));
}
return forEachRight;