diff options
author | Nayeem Rahman <muhammed.9939@gmail.com> | 2019-10-04 14:02:36 +0100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-10-04 09:02:36 -0400 |
commit | eecb4fea26aa3d1cddef1bb44ed3500d2b4dd477 (patch) | |
tree | 438c101d048007ea7d2ce89ce65f958cd3b58a8e /js/main.ts | |
parent | 403bdfc3ec258a0dd3a5d03391d3dc32648f2bbe (diff) |
Use xeval from deno_std (#3058)
Diffstat (limited to 'js/main.ts')
-rw-r--r-- | js/main.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/js/main.ts b/js/main.ts index 6a75f55e0..09e7ce453 100644 --- a/js/main.ts +++ b/js/main.ts @@ -6,7 +6,6 @@ import * as os from "./os.ts"; import { args } from "./deno.ts"; import { setPrepareStackTrace } from "./error_stack.ts"; import { replLoop } from "./repl.ts"; -import { xevalMain, XevalFunc } from "./xeval.ts"; import { setVersions } from "./version.ts"; import { window } from "./window.ts"; import { setLocation } from "./location.ts"; @@ -35,9 +34,7 @@ function denoMain(preserveDenoNamespace = true, name?: string): void { log("args", args); Object.freeze(args); - if (window["_xevalWrapper"] !== undefined) { - xevalMain(window["_xevalWrapper"] as XevalFunc, s.xevalDelim); - } else if (!s.mainModule) { + if (!s.mainModule) { replLoop(); } } |