Commit 986f871f authored by Michael Droettboom's avatar Michael Droettboom Committed by GitHub

Merge pull request #302 from mdboom/fix-chrome-preloading

Fix preloading on Chrome
parents 60977f0d c2175a04
......@@ -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;
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment