Skip to content

Commit 4f10c19

Browse files
committed
remove spurious change
1 parent ccdf34c commit 4f10c19

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/preamble.js

-3
Original file line numberDiff line numberDiff line change
@@ -2230,9 +2230,6 @@ function integrateWasmJS() {
22302230
}
22312231

22322232
function getBinaryPromise() {
2233-
//if (!Module['wasmbinary'] && typeof WebAssembly.instantiateStreaming === 'function') {
2234-
// return fetch(wasmBinaryFile, { credentials: 'same-origin' })
2235-
//}
22362233
// if we don't have the binary yet, and have the Fetch api, use that
22372234
// in some environments, like Electron's render process, Fetch api may be present, but have a different context than expected, let's only use it on the Web
22382235
if (!Module['wasmBinary'] && (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) && typeof fetch === 'function') {

0 commit comments

Comments
 (0)