Permalink
Browse files

Add on() alias for addListener

  • Loading branch information...
1 parent a025c1f commit 4b78aa75b7e27865450a51591c60129ad1386303 @kriszyp committed Jul 19, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/multi-node.js
View
@@ -139,7 +139,7 @@ exports.frameStream = function(stream){
framedBuffer[framedBuffer.length - 1] = 255;
stream.write(framedBuffer);
};
- emitter.observe = emitter.addListener;
+ emitter.on = emitter.addListener;
return emitter;
};

0 comments on commit 4b78aa7

Please sign in to comment.