window.app.realtime = connect : () -> #window.app.socket = io.connect('http://localhost:5001'); #window.app.socket.on 'connect', () -> #subscribeToRooms() #console.log('socket connected')