avoid loading x2t twice

pull/1/head
ansuz 3 years ago
parent 586e0367fe
commit fae6d97c3e

@ -1354,7 +1354,7 @@ function createWasm() {
}));
}
function instantiateAsync() {
if (!wasmBinary && typeof WebAssembly.instantiateStreaming === "function" && !isDataURI(wasmBinaryFile) && typeof fetch === "function") {
if (false && !wasmBinary && typeof WebAssembly.instantiateStreaming === "function" && !isDataURI(wasmBinaryFile) && typeof fetch === "function") {
fetch(wasmBinaryFile, {
credentials: "same-origin"
}).then((function(response) {

Loading…
Cancel
Save