Skip to content

Commit

Permalink
Tweak style.
Browse files Browse the repository at this point in the history
  • Loading branch information
braddunbar committed Jan 3, 2013
1 parent 2a4f571 commit a843d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion underscore.js
Expand Up @@ -225,7 +225,7 @@
_.invoke = function(obj, method) {
var args = slice.call(arguments, 2);
var isFunc = _.isFunction(method);
return _.map(obj, function (value) {
return _.map(obj, function(value) {
return (isFunc ? method : value[method]).apply(value, args);
});
};
Expand Down

0 comments on commit a843d1a

Please sign in to comment.