Permalink
Browse files

Mirroring change from node's patch for addOnce.

  • Loading branch information...
1 parent 8c1b9c6 commit af8730bbc64e91b43cc64e7c5fe16402659d9763 @miksago miksago committed Jan 15, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/queue.js
View
@@ -20,6 +20,8 @@ if(process.EventEmitter.prototype.addOnce == undefined){
EventEmitter.removeListener(signal, arguments.callee);
callback.apply(this, arguments);
});
+
+ return this;
};
}

0 comments on commit af8730b

Please sign in to comment.