diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2019-03-26 23:22:07 +1100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-03-26 08:22:07 -0400 |
commit | c43cfedeba5d6ac96e1b1febed8549e750606e3f (patch) | |
tree | 7b3799259895acadf25294704ea03a9465051e9c /js/globals.ts | |
parent | ed2977d3c0e9ab3295a3bb47b844b2953d608197 (diff) |
namespace reorg: libdeno and DenoCore to Deno.core (#1998)
Diffstat (limited to 'js/globals.ts')
-rw-r--r-- | js/globals.ts | 5 |
1 files changed, 2 insertions, 3 deletions
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; |