replaced ){ with ) {

This commit is contained in:
logsol 2012-07-28 15:00:59 +02:00
parent 76daceb2e7
commit 551fc943c9
20 changed files with 56 additions and 56 deletions

View file

@ -15,19 +15,19 @@ function (io) {
this.init(options);
}
Socket.prototype.init = function (options){
Socket.prototype.init = function (options) {
var self = this;
this.socket.configure('development', function (){
this.socket.configure('development', function () {
this.set('log level', options.logLevel);
});
this.socket.on('connection', function (user){
this.socket.on('connection', function (user) {
self.onConnection(user);
});
}
Socket.prototype.onConnection = function (socketLink){
Socket.prototype.onConnection = function (socketLink) {
this.coordinator.createUser(socketLink);
}