Skip to content

Commit

Permalink
v5.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
jondubois committed Aug 22, 2016
1 parent 0fa366d commit 62c2a81
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 27 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "socketcluster-client",
"main": "socketcluster.js",
"version": "5.0.5",
"version": "5.0.6",
"homepage": "https://github.com/SocketCluster/socketcluster-client",
"description": "SocketCluster JavaScript client",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ module.exports.destroy = function (options) {
return SCSocketCreator.destroy(options);
};

module.exports.version = '5.0.5';
module.exports.version = '5.0.6';
12 changes: 3 additions & 9 deletions lib/ws-browser.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@

/**
* WebSocket constructor.
*/
var global = typeof window != 'undefined' && window || (function() { return this; })();

var WebSocket = global.WebSocket || global.MozWebSocket;

/**
* Module exports.
*/

module.exports = WebSocket ? ws : null;

/**
* WebSocket constructor.
*
Expand All @@ -35,3 +27,5 @@ function ws(uri, protocols, opts) {
}

if (WebSocket) ws.prototype = WebSocket.prototype;

module.exports = WebSocket ? ws : null;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "socketcluster-client",
"description": "SocketCluster JavaScript client",
"version": "5.0.5",
"version": "5.0.6",
"homepage": "http://socketcluster.io",
"contributors": [
{
Expand Down
16 changes: 4 additions & 12 deletions socketcluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports.destroy = function (options) {
return SCSocketCreator.destroy(options);
};

module.exports.version = '5.0.5';
module.exports.version = '5.0.6';

},{"./lib/scsocket":4,"./lib/scsocketcreator":5,"sc-emitter":14}],2:[function(require,module,exports){
(function (global){
Expand Down Expand Up @@ -1508,20 +1508,11 @@ SCTransport.prototype.sendObject = function (object) {
module.exports.SCTransport = SCTransport;

},{"./response":3,"querystring":24,"sc-emitter":14,"sc-errors":16,"sc-formatter":17,"ws":7}],7:[function(require,module,exports){
(function (global){

/**
* WebSocket constructor.
*/
var global = typeof window != 'undefined' && window || (function() { return this; })();

var WebSocket = global.WebSocket || global.MozWebSocket;

/**
* Module exports.
*/

module.exports = WebSocket ? ws : null;

/**
* WebSocket constructor.
*
Expand All @@ -1547,7 +1538,8 @@ function ws(uri, protocols, opts) {

if (WebSocket) ws.prototype = WebSocket.prototype;

}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
module.exports = WebSocket ? ws : null;

},{}],8:[function(require,module,exports){
(function (global){
/*! http://mths.be/base64 v0.1.0 by @mathias | MIT license */
Expand Down
6 changes: 3 additions & 3 deletions socketcluster.min.js

Large diffs are not rendered by default.

0 comments on commit 62c2a81

Please sign in to comment.