UNPKG
get-translation
Version:
latest (0.13.8)
0.13.8
0.13.7
0.13.6
0.13.5
0.13.4
0.13.3
0.13.2
0.13.1
0.13.0
0.12.1
0.12.0
0.11.11
0.11.10
0.11.9
0.11.8
0.11.7
0.11.6
0.11.5
0.11.4
0.11.3
0.11.0
0.9.0
0.8.2
0.8.1
0.8.0
0.3.29
Effective translation workflow
github.com/tinganho/get-translation
tinganho/get-translation
get-translation
/
interface
/
vendor
/
modernizr
/
feature-detects
/
websockets-binary.js
8 lines
(5 loc)
•
246 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
// binaryType is truthy if there is support.. returns "blob" in new-ish chrome.
// plus.google.com/115535723976198353696/posts/ERN6zYozENV
Modernizr
.
addTest
(
'websocketsbinary'
, !!(
window
.
WebSocket
&& (
new
WebSocket
(
'ws://.'
)).
binaryType
) );