mirror of https://github.com/pyodide/pyodide.git
Merge pull request #302 from mdboom/fix-chrome-preloading
Fix preloading on Chrome
This commit is contained in:
commit
986f871fb8
|
@ -59,7 +59,7 @@ var languagePluginLoader = new Promise((resolve, reject) => {
|
|||
if (Module['preloadedWasm'][path] === undefined) {
|
||||
promise = promise
|
||||
.then(() => Module['loadWebAssemblyModule'](
|
||||
FS.readFile(path), true))
|
||||
FS.readFile(path), {loadAsync: true}))
|
||||
.then((module) => {
|
||||
Module['preloadedWasm'][path] = module;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue