mirror of https://github.com/xwiki-labs/cryptpad
avoid loading x2t twice
This commit is contained in:
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…
Reference in New Issue