Skip to content

Commit

Permalink
Release 1.4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Jan 26, 2016
1 parent 4ccc34b commit 5fe7373
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
10 changes: 10 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@

1.4.5 / 2016-01-26
==================

* fix `NativeScript` support

1.4.4 / 2016-01-10
==================

* bump `engine.io-client`

1.4.3 / 2016-01-08
==================

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "socket.io-client",
"version": "1.4.4",
"version": "1.4.5",
"keywords": [
"realtime",
"framework",
Expand Down Expand Up @@ -35,7 +35,7 @@
"has-cors": "1.1.0",
"istanbul": "0.4.2",
"mocha": "2.3.4",
"socket.io": "1.4.4",
"socket.io": "1.4.5",
"text-blob-builder": "0.0.1",
"uglify-js": "2.6.1",
"zuul": "3.9.0",
Expand Down
11 changes: 8 additions & 3 deletions socket.io.js
Original file line number Diff line number Diff line change
Expand Up @@ -1883,11 +1883,16 @@ var BrowserWebSocket = global.WebSocket || global.MozWebSocket;

/**
* Get either the `WebSocket` or `MozWebSocket` globals
* in the browser or the WebSocket-compatible interface
* exposed by `ws` for Node environment.
* in the browser or try to resolve WebSocket-compatible
* interface exposed by `ws` for Node-like environment.
*/

var WebSocket = BrowserWebSocket || (typeof window !== 'undefined' ? null : _dereq_('ws'));
var WebSocket = BrowserWebSocket;
if (!WebSocket && typeof window === 'undefined') {
try {
WebSocket = _dereq_('ws');
} catch (e) { }
}

/**
* Module exports.
Expand Down

0 comments on commit 5fe7373

Please sign in to comment.