Merge branch 'develop' of ghe.amb.ca.local:stf/stf into develop

This commit is contained in:
Gunther Brunner
2014-03-26 14:31:49 +09:00
5 changed files with 22 additions and 3 deletions

View File

@@ -1,7 +1,9 @@
var io = require('socket.io')
module.exports = function SocketFactory($rootScope) {
var socket = io.connect()
module.exports = function SocketFactory() {
var socket = io.connect(null, {
reconnect: false
})
socket.scoped = function($scope) {
var listeners = []