Bump to v4.0.0.

This commit is contained in:
John-David Dalton
2015-12-16 17:53:20 -08:00
parent 94d714007e
commit 8c26e6fd4c
656 changed files with 16423 additions and 11602 deletions

View File

@@ -1,4 +1,4 @@
define([], function() {
define(['./arrayMap'], function(arrayMap) {
/**
* The base implementation of `_.values` and `_.valuesIn` which creates an
@@ -11,14 +11,9 @@ define([], function() {
* @returns {Object} Returns the array of property values.
*/
function baseValues(object, props) {
var index = -1,
length = props.length,
result = Array(length);
while (++index < length) {
result[index] = object[props[index]];
}
return result;
return arrayMap(props, function(key) {
return object[key];
});
}
return baseValues;