|
|
@ -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) {
|
|
|
|