Rename the APP global variable to APPSTATE. It will soon contain more information.

This commit is contained in:
Simo Kinnunen
2014-07-03 18:42:52 +09:00
parent a392cd6613
commit 720292ae3c
3 changed files with 7 additions and 5 deletions

View File

@@ -1,9 +1,9 @@
var io = require('socket.io')
module.exports = function SocketFactory($rootScope, VersionUpdateService) {
/*globals APP:false*/
/*globals APPSTATE:false*/
var socket = io(APP.websocketUrl, {
var socket = io(APPSTATE.config.websocketUrl, {
reconnection: false
, transports: ['websocket']
})