mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-08 03:00:20 -04:00
socket: added Emitter mixin
This commit is contained in:
@@ -61,6 +61,12 @@ function Socket(nsp, client){
|
||||
this.disconnected = false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Mix in `Emitter`.
|
||||
*/
|
||||
|
||||
Emitter(Socket.prototype);
|
||||
|
||||
/**
|
||||
* Apply flags from `Socket`.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user