summaryrefslogtreecommitdiff
path: root/cli/js/runtime_main.ts
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2020-04-28 00:06:03 +0100
committerGitHub <noreply@github.com>2020-04-28 01:06:03 +0200
commit4041a7b8576047021c2eec711f013c6f01e471e0 (patch)
treee49ade03d1d888ea83a9fccf51ba8742a6365cc7 /cli/js/runtime_main.ts
parent2f0641885c62ba6a1e58ae0030f635efd3f35b2a (diff)
BREAKING: Remove Deno.symbols namespace (#4936)
Diffstat (limited to 'cli/js/runtime_main.ts')
-rw-r--r--cli/js/runtime_main.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/cli/js/runtime_main.ts b/cli/js/runtime_main.ts
index 4c6df892c..6c6617be0 100644
--- a/cli/js/runtime_main.ts
+++ b/cli/js/runtime_main.ts
@@ -19,20 +19,19 @@ import {
eventTargetProperties,
setEventTargetData,
} from "./globals.ts";
-import { internalObject } from "./internals.ts";
+import { internalObject, internalSymbol } from "./internals.ts";
import { setSignals } from "./signals.ts";
import { replLoop } from "./repl.ts";
import { LocationImpl } from "./web/location.ts";
import { setTimeout } from "./web/timers.ts";
import * as runtime from "./runtime.ts";
-import { symbols } from "./symbols.ts";
import { log, immutableDefine } from "./util.ts";
// TODO: factor out `Deno` global assignment to separate function
// Add internal object to Deno object.
// This is not exposed as part of the Deno types.
// @ts-ignore
-Deno[symbols.internal] = internalObject;
+Deno[internalSymbol] = internalObject;
let windowIsClosing = false;