summaryrefslogtreecommitdiff
path: root/ext/web/02_event.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/web/02_event.js')
-rw-r--r--ext/web/02_event.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/web/02_event.js b/ext/web/02_event.js
index f0c24f353..a171a1991 100644
--- a/ext/web/02_event.js
+++ b/ext/web/02_event.js
@@ -5,11 +5,10 @@
// parts still exists. This means you will observe a lot of strange structures
// and impossible logic branches based on what Deno currently supports.
-const core = globalThis.Deno.core;
+import { core, primordials } from "ext:core/mod.js";
import * as webidl from "ext:deno_webidl/00_webidl.js";
import DOMException from "ext:deno_web/01_dom_exception.js";
import { createFilteredInspectProxy } from "ext:deno_console/01_console.js";
-const primordials = globalThis.__bootstrap.primordials;
const {
ArrayPrototypeFilter,
ArrayPrototypeIncludes,