From: Luigi Pinca Date: Mon, 11 Nov 2013 15:52:37 +0000 (+0100) Subject: minor refactor of the rooms' initialization X-Git-Url: https://git.saalbach.dev/?a=commitdiff_plain;h=7435a7930b99e3714edb8cd1ecdf30063d24002e;p=binbsis50.git minor refactor of the rooms' initialization --- diff --git a/app.js b/app.js index 1b21fd7..50a89b6 100644 --- a/app.js +++ b/app.js @@ -173,10 +173,10 @@ io.sockets.on('connection', function(socket) { var Room = require('./lib/room')({io: io, sockets: sockets}) , rooms = Object.create(null); // The Object that contains all the room instances -for (var i=0; i