Fix #109: Fix the path of external data files

This commit is contained in:
Michael Droettboom 2018-08-09 16:08:08 -04:00
parent 1bdede95c9
commit 8d22b2777c
1 changed files with 1 additions and 0 deletions

View File

@ -117,6 +117,7 @@ var languagePluginLoader = new Promise((resolve, reject) => {
};
Module.filePackagePrefixURL = baseURL;
Module.locateFile = (path) => baseURL + path;
var postRunPromise = new Promise((resolve, reject) => {
Module.postRun = () => {
delete window.Module;