Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

args was already defined, and we had an extra unnecessary semicolon. #4

Merged
merged 1 commit into from

2 participants

@kaerast

Just a couple of minor fixes to make the code more valid. It also removes five characters so makes it smaller too :)

@caolan caolan merged commit 1cb284c into from
@caolan
Owner

Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 17, 2011
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 nimble.js
View
4 nimble.js
@@ -59,12 +59,12 @@
};
var args = Array.prototype.slice.call(arguments);
if (iterator.length) {
- var args = args.slice(0, iterator.length - 1);
+ args = args.slice(0, iterator.length - 1);
args[iterator.length - 1] = cb;
}
else {
args.push(cb);
- };
+ }
iterator.apply(this, args);
});
};
Something went wrong with that request. Please try again.