diff --git a/underscore.js b/underscore.js index c24c34645..8d55cc5ce 100644 --- a/underscore.js +++ b/underscore.js @@ -512,7 +512,7 @@ // Returns a function that will only be executed after being called N times. _.after = function(times, func) { return function() { - if (--times === 0) { return func.apply(this, arguments); } + if (--times < 1) { return func.apply(this, arguments); } }; };