avoid loading x2t twice

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

@ -1354,7 +1354,7 @@ function createWasm() {
})); }));
} }
function instantiateAsync() { 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, { fetch(wasmBinaryFile, {
credentials: "same-origin" credentials: "same-origin"
}).then((function(response) { }).then((function(response) {

Loading…
Cancel
Save