From c43cfedeba5d6ac96e1b1febed8549e750606e3f Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Tue, 26 Mar 2019 23:22:07 +1100 Subject: namespace reorg: libdeno and DenoCore to Deno.core (#1998) --- js/globals.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'js/globals.ts') diff --git a/js/globals.ts b/js/globals.ts index af99ae7e0..5a0fb18ce 100644 --- a/js/globals.ts +++ b/js/globals.ts @@ -27,7 +27,7 @@ import * as performanceUtil from "./performance"; // These imports are not exposed and therefore are fine to just import the // symbols required. -import { libdeno } from "./libdeno"; +import { core } from "./core"; // During the build process, augmentations to the variable `window` in this // file are tracked and created as part of default library that is built into @@ -43,7 +43,6 @@ window.window = window; // This is the Deno namespace, it is handled differently from other window // properties when building the runtime type library, as the whole module // is flattened into a single namespace. - window.Deno = deno; Object.freeze(window.Deno); @@ -53,7 +52,7 @@ window.btoa = textEncoding.btoa; window.fetch = fetchTypes.fetch; window.clearTimeout = timers.clearTimer; window.clearInterval = timers.clearTimer; -window.console = new consoleTypes.Console(libdeno.print); +window.console = new consoleTypes.Console(core.print); window.setTimeout = timers.setTimeout; window.setInterval = timers.setInterval; window.location = (undefined as unknown) as domTypes.Location; -- cgit v1.2.3