Skip to content

Commit

Permalink
fail
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Dec 9, 2011
1 parent 1303f14 commit 0fafe86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/browser/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ EventEmitter.prototype.emit = function (name) {
return false;
}

var args = [].slice.call(arguments);
var args = [].slice.call(arguments, 1);

if ('function' == typeof handler) {
handler.apply(this, args);
Expand Down
2 changes: 1 addition & 1 deletion mocha.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ EventEmitter.prototype.emit = function (name) {
return false;
}

var args = [].slice.call(arguments);
var args = [].slice.call(arguments, 1);

if ('function' == typeof handler) {
handler.apply(this, args);
Expand Down

0 comments on commit 0fafe86

Please sign in to comment.