Skip to content

Commit 3e47701

Browse files
committed
Add TODO-item
1 parent 4dba371 commit 3e47701

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/shell.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,7 @@ if (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) {
392392
if (scriptDirectory.indexOf('blob:') !== 0) {
393393
scriptDirectory = scriptDirectory.substr(0, scriptDirectory.replace(/[?#].*/, "").lastIndexOf('/')+1);
394394
} else {
395+
// TODO: Why? Does this mean that the previous `scriptDirectory`-logic is only for `blob:` URLs?
395396
scriptDirectory = '';
396397
}
397398

0 commit comments

Comments
 (0)