From 03a8b0bfbf22be94c9ff038acc8e82da0d0fd061 Mon Sep 17 00:00:00 2001 From: Brad Dunbar Date: Sat, 26 May 2012 09:37:09 -0400 Subject: [PATCH] Remove unnecessary code as per #618. --- underscore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/underscore.js b/underscore.js index 2345a6d05..478688115 100644 --- a/underscore.js +++ b/underscore.js @@ -213,7 +213,7 @@ _.invoke = function(obj, method) { var args = slice.call(arguments, 2); return _.map(obj, function(value) { - return (_.isFunction(method) ? method || value : value[method]).apply(value, args); + return (_.isFunction(method) ? method : value[method]).apply(value, args); }); };