socket: added Emitter mixin

This commit is contained in:
Guillermo Rauch
2012-12-17 14:36:24 -03:00
parent 1609eaa4e5
commit a8ea0f4fb0

View File

@@ -61,6 +61,12 @@ function Socket(nsp, client){
this.disconnected = false;
}
/**
* Mix in `Emitter`.
*/
Emitter(Socket.prototype);
/**
* Apply flags from `Socket`.
*/