summaryrefslogtreecommitdiff
path: root/runtime/js/06_util.js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js/06_util.js')
-rw-r--r--runtime/js/06_util.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/js/06_util.js b/runtime/js/06_util.js
index 7ceb41102..9df9ac88a 100644
--- a/runtime/js/06_util.js
+++ b/runtime/js/06_util.js
@@ -3,7 +3,6 @@
((window) => {
const { build } = window.__bootstrap.build;
- const internals = window.__bootstrap.internals;
let logDebug = false;
let logSource = "JS";
@@ -100,7 +99,10 @@
return pathOrUrl;
}
- internals.exposeForTest("pathFromURL", pathFromURL);
+ window.__bootstrap.internals = {
+ ...window.__bootstrap.internals ?? {},
+ pathFromURL,
+ };
function writable(value) {
return {