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.
currentScriptUrl
1 parent 4f47503 commit 6185c30Copy full SHA for 6185c30
src/shell_minimal.js
@@ -172,8 +172,6 @@ if (ENVIRONMENT_IS_NODE) {
172
global.Worker = require('worker_threads').Worker;
173
}
174
#endif
175
-
176
-var currentScriptUrl = typeof _scriptDir != 'undefined' ? _scriptDir : ((typeof document != 'undefined') ? document.currentScript?.src : undefined);
177
#endif // PTHREADS
178
179
#if !SINGLE_FILE
0 commit comments