socket.io-client
Advanced tools
Comparing version 1.0.5 to 1.0.6
1.0.6 / 2014-06-19 | ||
================== | ||
* test fixes on internet explorer | ||
* fixes for duplicate event propagation from manager instance [Rase-] | ||
1.0.5 / 2014-06-16 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -422,3 +422,3 @@ | ||
debug('attempting reconnect'); | ||
self.emitAll('reconnect_attempt'); | ||
self.emitAll('reconnect_attempt', self.attempts); | ||
self.emitAll('reconnecting', self.attempts); | ||
@@ -425,0 +425,0 @@ self.open(function(err){ |
@@ -64,2 +64,3 @@ | ||
this.disconnected = true; | ||
this.subEvents(); | ||
} | ||
@@ -74,3 +75,3 @@ | ||
/** | ||
* Called upon engine `open`. | ||
* Subscribe to open, close and packet events | ||
* | ||
@@ -80,7 +81,4 @@ * @api private | ||
Socket.prototype.open = | ||
Socket.prototype.connect = function(){ | ||
if (this.connected) return this; | ||
Socket.prototype.subEvents = function() { | ||
var io = this.io; | ||
io.open(); // ensure open | ||
this.subs = [ | ||
@@ -91,2 +89,15 @@ on(io, 'open', bind(this, 'onopen')), | ||
]; | ||
}; | ||
/** | ||
* Called upon engine `open`. | ||
* | ||
* @api private | ||
*/ | ||
Socket.prototype.open = | ||
Socket.prototype.connect = function(){ | ||
if (this.connected) return this; | ||
this.io.open(); // ensure open | ||
if ('open' == this.io.readyState) this.onopen(); | ||
@@ -93,0 +104,0 @@ return this; |
{ | ||
"name": "socket.io-client", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"keywords": [ | ||
@@ -14,3 +14,3 @@ "realtime", | ||
"debug": "0.7.4", | ||
"engine.io-client": "1.3.0", | ||
"engine.io-client": "1.3.1", | ||
"component-bind": "1.0.0", | ||
@@ -27,3 +27,3 @@ "component-emitter": "1.1.2", | ||
"devDependencies": { | ||
"socket.io": "1.0.5", | ||
"socket.io": "1.0.6", | ||
"mocha": "1.16.2", | ||
@@ -30,0 +30,0 @@ "zuul": "1.6.3", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
487997
6134
+ Addedengine.io-client@1.3.1(transitive)
- Removedengine.io-client@1.3.0(transitive)
Updatedengine.io-client@1.3.1