From eecb4fea26aa3d1cddef1bb44ed3500d2b4dd477 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Fri, 4 Oct 2019 14:02:36 +0100 Subject: Use xeval from deno_std (#3058) --- js/main.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'js/main.ts') 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(); } } -- cgit v1.2.3