From c113df1bb8a0c7d0c560ad32c0291c918c7da7b4 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 6 Dec 2018 23:05:36 -0500 Subject: Process source maps in Rust instead of JS (#1280) - Improves speed and binary size significantly. - Makes deno_last_exception() output a JSON structure. - Isolate::execute and Isolate::event_loop now return structured, mapped JSError objects on errors. - Removes libdeno functions: libdeno.setGlobalErrorHandler() libdeno.setPromiseRejectHandler() libdeno.setPromiseErrorExaminer() In collaboration with Ryan Dahl. --- js/libdeno.ts | 4 ---- 1 file changed, 4 deletions(-) (limited to 'js/libdeno.ts') diff --git a/js/libdeno.ts b/js/libdeno.ts index c61027324..5448165a1 100644 --- a/js/libdeno.ts +++ b/js/libdeno.ts @@ -1,5 +1,4 @@ // Copyright 2018 the Deno authors. All rights reserved. MIT license. -import { RawSourceMap } from "./types"; import { globalEval } from "./global_eval"; // The libdeno functions are moved so that users can't access them. @@ -39,9 +38,6 @@ interface Libdeno { ) => void; setPromiseErrorExaminer: (handler: () => boolean) => void; - - mainSource: string; - mainSourceMap: RawSourceMap; } const window = globalEval("this"); -- cgit v1.2.3