summaryrefslogtreecommitdiff
path: root/js/libdeno.ts
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2019-02-20 11:42:19 +0900
committerRyan Dahl <ry@tinyclouds.org>2019-02-19 21:42:19 -0500
commitc4e37285758ff4cc5d388db2d880ed91decb3d29 (patch)
tree0c4f813da45a6407359ea739d0cd9b06af138d8e /js/libdeno.ts
parenta5720d9e28f7ee5868049504816405392c2821d7 (diff)
remove global_eval.ts (#1813)
Diffstat (limited to 'js/libdeno.ts')
-rw-r--r--js/libdeno.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/libdeno.ts b/js/libdeno.ts
index 79ce4272a..61e259b54 100644
--- a/js/libdeno.ts
+++ b/js/libdeno.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import { globalEval } from "./global_eval";
+import { window } from "./window";
// The libdeno functions are moved so that users can't access them.
type MessageCallback = (msg: Uint8Array) => void;
@@ -40,5 +40,4 @@ interface Libdeno {
errorToJSON: (e: Error) => string;
}
-const window = globalEval("this");
export const libdeno = window.libdeno as Libdeno;