Skip to content

Commit

Permalink
Release 0.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Sep 6, 2011
1 parent 43f9d29 commit d347238
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
12 changes: 7 additions & 5 deletions dist/socket.io.js
@@ -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
Expand All @@ -22,7 +22,7 @@
* @api public
*/

io.version = '0.8.2';
io.version = '0.8.4';

/**
* Protocol implemented.
Expand Down Expand Up @@ -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;
};

/**
Expand Down Expand Up @@ -2559,7 +2561,7 @@
|| !('__initialize' in WebSocket) || !swfobject
) return false;

return swfobject.getFlashPlayerVersion().major >= 1;
return swfobject.getFlashPlayerVersion().major >= 10;
};

/**
Expand Down
4 changes: 2 additions & 2 deletions dist/socket.io.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/io.js
Expand Up @@ -21,7 +21,7 @@
* @api public
*/

io.version = '0.8.3';
io.version = '0.8.4';

/**
* Protocol implemented.
Expand Down
6 changes: 3 additions & 3 deletions package.json
@@ -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"
Expand All @@ -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.