Permalink
Browse files

Release 0.8.4

  • Loading branch information...
1 parent 43f9d29 commit d34723812c2fcd40901b4186f9f846cc29ea57ec @rauchg rauchg committed Sep 6, 2011
Showing with 13 additions and 11 deletions.
  1. +7 −5 dist/socket.io.js
  2. +2 −2 dist/socket.io.min.js
  3. +1 −1 lib/io.js
  4. +3 −3 package.json
View
@@ -1,4 +1,4 @@
-/*! Socket.IO.js build:0.8.2, development. Copyright(c) 2011 LearnBoost <dev@learnboost.com> MIT Licensed */
+/*! Socket.IO.js build:0.8.4, development. Copyright(c) 2011 LearnBoost <dev@learnboost.com> MIT Licensed */
/**
* socket.io
@@ -22,7 +22,7 @@
* @api public
*/
- io.version = '0.8.2';
+ io.version = '0.8.4';
/**
* Protocol implemented.
@@ -1806,8 +1806,10 @@
Socket.prototype.isXDomain = function () {
- var locPort = window.location.port || 80;
- return this.options.host !== document.domain || this.options.port != locPort;
+ var port = window.location.port ||
+ ('https:' == window.location.protocol ? 443 : 80);
+
+ return this.options.host !== document.domain || this.options.port != port;
};
/**
@@ -2559,7 +2561,7 @@
|| !('__initialize' in WebSocket) || !swfobject
) return false;
- return swfobject.getFlashPlayerVersion().major >= 1;
+ return swfobject.getFlashPlayerVersion().major >= 10;
};
/**
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -21,7 +21,7 @@
* @api public
*/
- io.version = '0.8.3';
+ io.version = '0.8.4';
/**
* Protocol implemented.
View
@@ -1,7 +1,7 @@
{
"name": "socket.io-client"
, "description": "Socket.IO client for the browser and node.js"
- , "version": "0.8.3"
+ , "version": "0.8.4"
, "main" : "./lib/io.js"
, "browserify": "./dist/socket.io.js"
, "homepage": "http://socket.io"
@@ -27,8 +27,8 @@
, "express": "2.3.11"
, "jade": "0.12.1"
, "stylus": "0.13.3"
- , "socket.io": "0.8.3"
- , "socket.io-client": "0.8.3"
+ , "socket.io": "0.8.4"
+ , "socket.io-client": "0.8.4"
}
, "engines": { "node": ">= 0.4.0" }
}

0 comments on commit d347238

Please sign in to comment.