mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-20 06:53:39 +02:00
Add user service and reorganize services. Messy commit but it's a start.
This commit is contained in:
8
res/app/scripts/services/socketService.js
Normal file
8
res/app/scripts/services/socketService.js
Normal file
@@ -0,0 +1,8 @@
|
||||
define(['./module', 'socket.io'], function(mod, io) {
|
||||
function SocketServiceFactory() {
|
||||
var socketService = io.connect()
|
||||
return socketService
|
||||
}
|
||||
|
||||
mod.factory('socketService', [SocketServiceFactory])
|
||||
})
|
||||
Reference in New Issue
Block a user