mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
client: style
This commit is contained in:
@@ -41,8 +41,8 @@ function Client(server, conn){
|
||||
Client.prototype.setup = function(){
|
||||
this.onclose = this.onclose.bind(this);
|
||||
this.ondata = this.ondata.bind(this);
|
||||
this.conn.on('close', this.onclose);
|
||||
this.conn.on('data', this.ondata);
|
||||
this.conn.on('close', this.onclose);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user