closes #873, removed global translator, templates and server objects

This commit is contained in:
Baris Soner Usakli
2014-01-25 16:39:27 -05:00
parent 393bb7245c
commit 2e786cc4d1
6 changed files with 21 additions and 27 deletions

View File

@@ -30,9 +30,9 @@ Sockets.userSockets = {};
Sockets.rooms = {};
Sockets.init = function() {
Sockets.init = function(server) {
io = socketioWildcard(SocketIO).listen(global.server, {
io = socketioWildcard(SocketIO).listen(server, {
log: false,
transports: ['websocket', 'xhr-polling', 'jsonp-polling', 'flashsocket'],
'browser client minification': true