diff options
Diffstat (limited to 'js/compiler.ts')
-rw-r--r-- | js/compiler.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/compiler.ts b/js/compiler.ts index 046233442..d87309512 100644 --- a/js/compiler.ts +++ b/js/compiler.ts @@ -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"; |