Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

Commit

Permalink
Preserve global.Error across invocations
Browse files Browse the repository at this point in the history
  • Loading branch information
arichiardi committed Feb 6, 2018
1 parent 4a2fc77 commit b8c7b66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/js/cljs.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ function newDevelopmentContext(): vm$Context {
crypto,
fs,
path,
Error: global.Error,
getGoogleClosureCompiler: lumo.getGoogleClosureCompiler,
getJSCompletions: lumo.getJSCompletions,
doPrint,
Expand Down Expand Up @@ -166,6 +167,7 @@ function newClojureScriptContext(): { [key: string]: mixed } {
crypto,
fs,
path,
Error: global.Error,
getGoogleClosureCompiler: lumo.getGoogleClosureCompiler,
getJSCompletions: lumo.getJSCompletions,
doPrint,
Expand Down

0 comments on commit b8c7b66

Please sign in to comment.