From 10ee3585f6facfd47d46cd323f5fb303071982a4 Mon Sep 17 00:00:00 2001 From: jdalton Date: Thu, 12 Feb 2015 01:59:16 -0800 Subject: [PATCH] Fix `spread` doc and remove unused `thisArg`. --- lodash.src.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lodash.src.js b/lodash.src.js index cc8baf144..9d6950af2 100644 --- a/lodash.src.js +++ b/lodash.src.js @@ -7815,7 +7815,7 @@ * @static * @memberOf _ * @category Function - * @param {Function} The function to spread arguments over. + * @param {Function} func The function to spread arguments over. * @returns {*} Returns the new function. * @example * @@ -7839,7 +7839,7 @@ * numbers.then(_.spread(add)); * // => a Promise of 76 */ - function spread(func, thisArg) { + function spread(func) { if (typeof func != 'function') { throw new TypeError(FUNC_ERROR_TEXT); }