Make use of changed baseValues signature.

This commit is contained in:
John-David Dalton
2014-12-21 23:10:56 -06:00
parent 9f2279c675
commit d21218fd57

View File

@@ -7904,7 +7904,7 @@
return object != null && value === object[key] && hasOwnProperty.call(object, key); return object != null && value === object[key] && hasOwnProperty.call(object, key);
} }
} }
var values = baseValues(source, function() { return props; }); var values = baseValues(source, props);
return baseIsMatch(object, props, values, customizer); return baseIsMatch(object, props, values, customizer);
} }
@@ -8822,7 +8822,7 @@
* @static * @static
* @memberOf _ * @memberOf _
* @category Object * @category Object
* @param {Object} object The object to inspect. * @param {Object} object The object to query.
* @param {string} key The name of the property to resolve. * @param {string} key The name of the property to resolve.
* @param {*} [defaultValue] The value returned if the property value * @param {*} [defaultValue] The value returned if the property value
* resolves to `undefined`. * resolves to `undefined`.
@@ -8910,7 +8910,7 @@
* @static * @static
* @memberOf _ * @memberOf _
* @category Object * @category Object
* @param {Object} object The object to inspect. * @param {Object} object The object to query.
* @returns {Array} Returns the array of property values. * @returns {Array} Returns the array of property values.
* @example * @example
* *
@@ -8925,7 +8925,7 @@
* // => [2, 1] (iteration order is not guaranteed) * // => [2, 1] (iteration order is not guaranteed)
*/ */
function values(object) { function values(object) {
return baseValues(object, keys); return baseValues(object, keys(object));
} }
/** /**
@@ -8935,7 +8935,7 @@
* @static * @static
* @memberOf _ * @memberOf _
* @category Object * @category Object
* @param {Object} object The object to inspect. * @param {Object} object The object to query.
* @returns {Array} Returns the array of property values. * @returns {Array} Returns the array of property values.
* @example * @example
* *
@@ -8950,7 +8950,7 @@
* // => [2, 1, 0] (iteration order is not guaranteed) * // => [2, 1, 0] (iteration order is not guaranteed)
*/ */
function valuesIn(object) { function valuesIn(object) {
return baseValues(object, keysIn); return baseValues(object, keysIn(object));
} }
/*------------------------------------------------------------------------*/ /*------------------------------------------------------------------------*/