diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-01-21 01:30:30 +1100 |
---|---|---|
committer | Ry Dahl <ry@tinyclouds.org> | 2020-01-20 09:30:30 -0500 |
commit | 60b53fd6b6dc2af83a64c332b9f3a1926f43d631 (patch) | |
tree | 4f4ef1aadb8c79ef2319d728b9d5b132af40ef83 /cli/js/core.ts | |
parent | 23e67eb5153bd26dbae471b27dc6a21a6d283b0b (diff) |
Use globalThis to reference global scope (#3719)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/js/core.ts')
-rw-r--r-- | cli/js/core.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/js/core.ts b/cli/js/core.ts index 5a60b6f86..5a0d95225 100644 --- a/cli/js/core.ts +++ b/cli/js/core.ts @@ -1,6 +1,5 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import { window } from "./window.ts"; // This allows us to access core in API even if we // dispose window.Deno -export const core = window.Deno.core as DenoCore; +export const core = globalThis.Deno.core as DenoCore; |