Skip to content

Commit

Permalink
socket: added Emitter mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Dec 17, 2012
1 parent 1609eaa commit a8ea0f4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/socket.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ function Socket(nsp, client){
this.disconnected = false;
}

/**
* Mix in `Emitter`.
*/

Emitter(Socket.prototype);

/**
* Apply flags from `Socket`.
*/
Expand Down

0 comments on commit a8ea0f4

Please sign in to comment.