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', '../lang/isObject', '../object/values'], function(isLength, isObject, values) {
define(['./getLength', './isLength', '../lang/isObject', '../object/values'], function(getLength, isLength, isObject, values) {
/**
* Converts `value` to an array-like object if it is not one.
@@ -11,7 +11,7 @@ define(['./isLength', '../lang/isObject', '../object/values'], function(isLength
if (value == null) {
return [];
}
if (!isLength(value.length)) {
if (!isLength(getLength(value))) {
return values(value);
}
return isObject(value) ? value : Object(value);