Update socket.io.client.service.js

This commit is contained in:
David Baldwynn 2017-04-20 21:45:26 -07:00 committed by GitHub
parent d5072d5ac2
commit 8e7533aa81

View file

@ -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,