We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dba371 commit 3e47701Copy full SHA for 3e47701
src/shell.js
@@ -392,6 +392,7 @@ if (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) {
392
if (scriptDirectory.indexOf('blob:') !== 0) {
393
scriptDirectory = scriptDirectory.substr(0, scriptDirectory.replace(/[?#].*/, "").lastIndexOf('/')+1);
394
} else {
395
+ // TODO: Why? Does this mean that the previous `scriptDirectory`-logic is only for `blob:` URLs?
396
scriptDirectory = '';
397
}
398
0 commit comments