Skip to content
Permalink
Browse files

Merge pull request #278 from bui/browsersupport-add-ogg-wasm

BrowserSupport: Add Ogg/Wasm test
  • Loading branch information
bui committed Nov 9, 2020
2 parents 6c7d880 + 2a167a0 commit 3b1452eb06b5d1bbbec4f1bba0314b8bb8123ddf
Showing with 3 additions and 5 deletions.
  1. +3 −5 public/src/js/browsersupport.js
@@ -50,6 +50,9 @@ function browserSupport(){
},
"Font Loading API": function(){
return typeof FontFace === "function"
},
"OGG or WebAssembly": function(){
return new Audio().canPlayType("audio/ogg;codecs=vorbis") || "WebAssembly" in window
}
}
failedTests = []
@@ -179,11 +182,6 @@ function showUnsupported(strings){
event.preventDefault()
chrome.click()
})
var touchText = function(){
div.style.fontSize = "4em"
removeEventListener("touchstart", touchText)
}
addEventListener("touchstart", touchText)
}
var failedTests
browserSupport()

0 comments on commit 3b1452e

Please sign in to comment.
You can’t perform that action at this time.