Permalink
Browse files

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

  • Loading branch information...
Alice Kærast
Alice Kærast committed May 17, 2011
1 parent 87e0eca commit 2550ee310eeb706de7dbb9a19c2e49428b76377f
Showing with 2 additions and 2 deletions.
  1. +2 −2 nimble.js
View
@@ -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);
});
};

0 comments on commit 2550ee3

Please sign in to comment.