socketcluster-client
Advanced tools
Comparing version 0.9.10 to 0.9.11
@@ -144,2 +144,3 @@ /** | ||
'upgrade': 1, | ||
'upgradeError': 1, | ||
'open': 1, | ||
@@ -155,3 +156,4 @@ 'error': 1, | ||
'packetCreate': 1, | ||
'close': 1 | ||
'close': 1, | ||
'fail': 1 | ||
}; | ||
@@ -216,2 +218,6 @@ | ||
Emitter.prototype.emit.call(self, 'disconnect'); | ||
} else if (e.event == 'fail') { | ||
self.connected = false; | ||
self.connecting = false; | ||
Emitter.prototype.emit.call(self, 'fail', e.data); | ||
} else { | ||
@@ -218,0 +224,0 @@ var eventName = e.ns + '.' + e.event; |
{ | ||
"name": "socketcluster-client", | ||
"description": "Client side of SocketCluster", | ||
"version": "0.9.10", | ||
"version": "0.9.11", | ||
"homepage": "https://github.com/topcloud/socketcluster-client", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
@@ -15,4 +15,3 @@ SocketCluster Client | ||
SocketCluster Client was created using component (client package manager). | ||
To build it (outputs to socketcluster.js), use: | ||
To build SocketCluster Client with browserify, use: | ||
@@ -19,0 +18,0 @@ ``` |
Sorry, the diff of this file is too big to display
120647
4024
54