Ensure global type instances are available.

This commit is contained in:
Kitson Kelly 2018-11-09 11:09:18 +11:00 committed by Ryan Dahl
parent 172f5a5133
commit 34b6b86c76
12 changed files with 113 additions and 38 deletions

View file

@ -6,11 +6,12 @@ import { assetSourceCode } from "./assets";
import * as deno from "./deno";
import { globalEval } from "./global_eval";
import { libdeno } from "./libdeno";
import { window } from "./globals";
import * as os from "./os";
import { RawSourceMap } from "./types";
import { assert, log, notImplemented } from "./util";
const window = globalEval("this");
const EOL = "\n";
const ASSETS = "$asset$";
const LIB_RUNTIME = "lib.deno_runtime.d.ts";