Bump to v3.7.0.

This commit is contained in:
John-David Dalton
2015-12-16 17:49:35 -08:00
parent 9724afd7a6
commit fec213a98c
121 changed files with 1686 additions and 815 deletions

View File

@@ -1,4 +1,4 @@
define(['./isLength', './toObject'], function(isLength, toObject) {
define(['./getLength', './isLength', './toObject'], function(getLength, isLength, toObject) {
/**
* Creates a `baseEach` or `baseEachRight` function.
@@ -10,7 +10,7 @@ define(['./isLength', './toObject'], function(isLength, toObject) {
*/
function createBaseEach(eachFunc, fromRight) {
return function(collection, iteratee) {
var length = collection ? collection.length : 0;
var length = collection ? getLength(collection) : 0;
if (!isLength(length)) {
return eachFunc(collection, iteratee);
}