summaryrefslogtreecommitdiff
path: root/runtime/js/10_permissions.js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js/10_permissions.js')
-rw-r--r--runtime/js/10_permissions.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/runtime/js/10_permissions.js b/runtime/js/10_permissions.js
index 6aad0677d..f048a5d62 100644
--- a/runtime/js/10_permissions.js
+++ b/runtime/js/10_permissions.js
@@ -2,13 +2,11 @@
"use strict";
((window) => {
- const {
- Event,
- EventTarget,
- Deno: { core: { ops } },
- __bootstrap: { webUtil: { illegalConstructorKey } },
- } = window;
+ const { ops } = Deno.core;
+ const { Event } = window.__bootstrap.event;
+ const { EventTarget } = window.__bootstrap.eventTarget;
const { pathFromURL } = window.__bootstrap.util;
+ const { illegalConstructorKey } = window.__bootstrap.webUtil;
const {
ArrayIsArray,
ArrayPrototypeIncludes,