mirror of https://github.com/pyodide/pyodide.git
Fix #109: Fix the path of external data files
This commit is contained in:
parent
1bdede95c9
commit
8d22b2777c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue