Updated safe dependencies.

This commit is contained in:
Gunther Brunner
2014-05-16 15:01:58 +09:00
parent 345b4506f1
commit 7e5dbde075

View File

@@ -90,21 +90,6 @@ module.exports = function BrowserInfoServiceFactory() {
addTest('ua', navigator.userAgent)
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
})
// addTest('pointerevents', function () {
// var bool = false
// var i = domPrefixes.length