Permalink
Browse files

elongating a single-line if.

  • Loading branch information...
1 parent 4ebb87c commit 7ef6b6d1888cb0ebd406f83680e0deff85f25ffe @jashkenas jashkenas committed May 24, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 underscore.js
View
@@ -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);
+ }
};
};

0 comments on commit 7ef6b6d

Please sign in to comment.