Get the wasm build working w/ latest emscripten

This commit is contained in:
Max Brunsfeld 2020-11-30 14:28:27 -08:00
parent 53949b09fd
commit a2d6048226
3 changed files with 19 additions and 12 deletions

View file

@ -880,7 +880,7 @@ class Language {
}
return bytes
.then(bytes => loadWebAssemblyModule(bytes, {loadAsync: true}))
.then(bytes => loadSideModule(bytes, {loadAsync: true}))
.then(mod => {
const symbolNames = Object.keys(mod)
const functionName = symbolNames.find(key =>