We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69e040e commit 4cc9339Copy full SHA for 4cc9339
src/Components/Web.JS/src/Platform/Mono/MonoPlatform.ts
@@ -205,7 +205,6 @@ function addGlobalModuleScriptTagsToDocument(callback: () => void) {
205
// The callback is put in the global scope so that it can be run after the script is loaded.
206
// onload cannot be used in this case for non-file scripts.
207
window['__wasmmodulecallback__'] = callback;
208
- scriptElem.type = 'text/javascript';
209
scriptElem.text = 'var Module; window.__wasmmodulecallback__(); delete window.__wasmmodulecallback__;';
210
211
document.body.appendChild(scriptElem);
0 commit comments