engine.io-client
Advanced tools
Comparing version 0.7.1 to 0.7.2
{ | ||
"name": "engine.io", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "component/emitter": "1.0.1", |
0.7.2 / 2013-08-23 | ||
================== | ||
* transports: fix WebSocket transport in the web browser (again) | ||
0.7.1 / 2013-08-23 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -62,7 +62,7 @@ /** | ||
var uri = this.uri(); | ||
if (null == this.agent && false !== this.agent) { | ||
this.socket = new (ws())(uri); | ||
} else { | ||
if (global.process && global.process.versions && global.process.versions.node) { | ||
// the user provided an explicit `http.Agent` instance (or `false`) to use | ||
this.socket = new (ws())(uri, { agent: this.agent }); | ||
} else { | ||
this.socket = new (ws())(uri); | ||
} | ||
@@ -69,0 +69,0 @@ this.socket.onopen = function(){ |
{ | ||
"name": "engine.io-client", | ||
"description": "Client for the realtime Engine", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"homepage": "https://github.com/LearnBoost/engine.io-client", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
390354