From 72fcb4ebda0fb4f3b3ef589fa3297b7f52f710fe Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Tue, 24 Jun 2014 20:56:50 -0700 Subject: [PATCH] Simplify `baseCallback`. --- lodash.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index 5c7f1cc79..f59b71f4a 100644 --- a/lodash.js +++ b/lodash.js @@ -1257,7 +1257,9 @@ return func.call(thisArg, value, other, key, object, source); }; } - return bind(func, thisArg); + return function() { + return func.apply(thisArg, arguments); + }; } /**