diff options
Diffstat (limited to 'ext/fetch/27_eventsource.js')
-rw-r--r-- | ext/fetch/27_eventsource.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/fetch/27_eventsource.js b/ext/fetch/27_eventsource.js index 1db65d748..b8ceffb16 100644 --- a/ext/fetch/27_eventsource.js +++ b/ext/fetch/27_eventsource.js @@ -2,7 +2,7 @@ /// <reference path="../../core/internal.d.ts" /> -const core = globalThis.Deno.core; +import { core, primordials } from "ext:core/mod.js"; import * as webidl from "ext:deno_webidl/00_webidl.js"; import { createFilteredInspectProxy } from "ext:deno_console/01_console.js"; @@ -19,7 +19,6 @@ import { getLocationHref } from "ext:deno_web/12_location.js"; import { newInnerRequest } from "ext:deno_fetch/23_request.js"; import { mainFetch } from "ext:deno_fetch/26_fetch.js"; -const primordials = globalThis.__bootstrap.primordials; const { ArrayPrototypeFind, Number, |