1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 02:09:32 +02:00

Update to Socket.IO 1.0.

This commit is contained in:
Simo Kinnunen 2014-06-03 19:00:25 +09:00
parent 27d9014e90
commit 41661c9384
4 changed files with 43 additions and 41 deletions

View file

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