GeezerVison is showing github.com — update binarypack version · binaryjs/binaryjs@89a21e8
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: deps/binarypack.js +3-2Lines changed: 3 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | | -/*! binarypack.js build:0.0.2, development. Copyright(c) 2012 Eric Zhang <[email protected]> MIT Licensed */ |
| 1 | +/*! binarypack.js build:0.0.3, development. Copyright(c) 2012 Eric Zhang <[email protected]> MIT Licensed */ |
2 | 2 | (function(exports){ |
3 | 3 | exports.binaryFeatures = { |
4 | 4 | useBlobBuilder: (function(){ |
@@ -18,7 +18,8 @@ exports.binaryFeatures = { |
18 | 18 | })(), |
19 | 19 | supportsBinaryWebsockets: (function(){ |
20 | 20 | try { |
21 | | - var wstest = new WebSocket('ws://localhost:0'); |
| 21 | + var wstest = new WebSocket('ws://null'); |
| 22 | + wstest.onerror = function(){}; |
22 | 23 | if (typeof(wstest.binaryType) !== "undefined") { |
23 | 24 | return true; |
24 | 25 | } else { |
|
Collapse file
Copy file name to clipboardExpand all lines: dist/binary.js +3-2Lines changed: 3 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | /*! binary.js build:0.1.2, development. Copyright(c) 2012 Eric Zhang <[email protected]> MIT Licensed */ |
2 | 2 | (function(exports){ |
3 | | -/*! binarypack.js build:0.0.2, development. Copyright(c) 2012 Eric Zhang <[email protected]> MIT Licensed */ |
| 3 | +/*! binarypack.js build:0.0.3, development. Copyright(c) 2012 Eric Zhang <[email protected]> MIT Licensed */ |
4 | 4 | (function(exports){ |
5 | 5 | exports.binaryFeatures = { |
6 | 6 | useBlobBuilder: (function(){ |
@@ -20,7 +20,8 @@ exports.binaryFeatures = { |
20 | 20 | })(), |
21 | 21 | supportsBinaryWebsockets: (function(){ |
22 | 22 | try { |
23 | | - var wstest = new WebSocket('ws://localhost:0'); |
| 23 | + var wstest = new WebSocket('ws://null'); |
| 24 | + wstest.onerror = function(){}; |
24 | 25 | if (typeof(wstest.binaryType) !== "undefined") { |
25 | 26 | return true; |
26 | 27 | } else { |
|