Sha256: 1642be59c705f132f060f51423c72bc27997b833d0fc9368a927383da8083798
Contents?: true
Size: 538 Bytes
Versions: 144
Compression:
Stored size: 538 Bytes
Contents
// binaryType is truthy if there is support.. returns "blob" in new-ish chrome. // plus.google.com/115535723976198353696/posts/ERN6zYozENV // github.com/Modernizr/Modernizr/issues/370 Modernizr.addTest('websocketsbinary', function() { var protocol = 'https:'==location.protocol?'wss':'ws', protoBin; if('WebSocket' in window) { if( protoBin = 'binaryType' in WebSocket.prototype ) { return protoBin; } try { return !!(new WebSocket(protocol+'://.').binaryType); } catch (e){} } return false; });
Version data entries
144 entries across 144 versions & 7 rubygems