From 9f2279c67560a563e8a9bba83e673ad1df3b3162 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 21 Dec 2014 23:09:44 -0600 Subject: [PATCH] Make `baseValues` accept `props` instead of a `keysFunc`. --- lodash.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lodash.js b/lodash.js index 118cef23b..8f5048cd8 100644 --- a/lodash.js +++ b/lodash.js @@ -2672,13 +2672,12 @@ * returned by `keysFunc`. * * @private - * @param {Object} object The object to inspect. - * @param {Function} keysFunc The function to get the keys of `object`. + * @param {Object} object The object to query. + * @param {Array} props The property names to get values for. * @returns {Object} Returns the array of property values. */ - function baseValues(object, keysFunc) { + function baseValues(object, props) { var index = -1, - props = keysFunc(object), length = props.length, result = Array(length);