mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 20:29:11 +00:00
remove global_eval.ts (#1813)
This commit is contained in:
parent
a5720d9e28
commit
c4e3728575
10 changed files with 18 additions and 35 deletions
|
@ -1,9 +1,9 @@
|
|||
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||
import * as ts from "typescript";
|
||||
import * as msg from "gen/msg_generated";
|
||||
import { window } from "./window";
|
||||
import { assetSourceCode } from "./assets";
|
||||
import { Console } from "./console";
|
||||
import { globalEval } from "./global_eval";
|
||||
import { libdeno } from "./libdeno";
|
||||
import * as os from "./os";
|
||||
import { TextDecoder, TextEncoder } from "./text_encoding";
|
||||
|
@ -15,9 +15,6 @@ const EOL = "\n";
|
|||
const ASSETS = "$asset$";
|
||||
const LIB_RUNTIME = `${ASSETS}/lib.deno_runtime.d.ts`;
|
||||
|
||||
// A reference to the global scope
|
||||
const window = globalEval("this");
|
||||
|
||||
// An instance of console
|
||||
const console = new Console(libdeno.print);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue