Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

elongating a single-line if.

  • Loading branch information...
commit 7ef6b6d1888cb0ebd406f83680e0deff85f25ffe 1 parent 4ebb87c
@jashkenas jashkenas authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 underscore.js
View
4 underscore.js
@@ -630,7 +630,9 @@
_.after = function(times, func) {
if (times <= 0) return func();
return function() {
- if (--times < 1) { return func.apply(this, arguments); }
+ if (--times < 1) {
+ return func.apply(this, arguments);
+ }
};
};
Please sign in to comment.
Something went wrong with that request. Please try again.