aboutsummaryrefslogtreecommitdiff
path: root/clojurescript/repl.html
diff options
context:
space:
mode:
Diffstat (limited to 'clojurescript/repl.html')
-rw-r--r--clojurescript/repl.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/clojurescript/repl.html b/clojurescript/repl.html
index 2c179501..cae8a119 100644
--- a/clojurescript/repl.html
+++ b/clojurescript/repl.html
@@ -34,6 +34,10 @@
print( "user=> " + text.replace(/\n/g,"\n "));
jsrepl.text.value = "";
},
+ err: function(e) {
+ print(e);
+ clojure._var__STAR_e.set(e);
+ },
state: function(s,m) {
jsrepl.status.innerHTML = s;
switch( s ) {