Update socket.io.client.service.js
This commit is contained in:
parent
d5072d5ac2
commit
8e7533aa81
|
@ -4,6 +4,7 @@
|
||||||
// Create the Socket.io wrapper service
|
// Create the Socket.io wrapper service
|
||||||
function Socket($timeout, $window) {
|
function Socket($timeout, $window) {
|
||||||
|
|
||||||
|
var service;
|
||||||
|
|
||||||
// Connect to Socket.io server
|
// Connect to Socket.io server
|
||||||
function connect(url) {
|
function connect(url) {
|
||||||
|
@ -35,7 +36,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var service = {
|
service = {
|
||||||
connect: connect,
|
connect: connect,
|
||||||
emit: emit,
|
emit: emit,
|
||||||
on: on,
|
on: on,
|
||||||
|
|
Loading…
Reference in a new issue