aboutsummaryrefslogtreecommitdiff
path: root/js/step0_repl.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/step0_repl.js')
-rw-r--r--js/step0_repl.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/step0_repl.js b/js/step0_repl.js
index 1d2bbfb..c13be2d 100644
--- a/js/step0_repl.js
+++ b/js/step0_repl.js
@@ -20,6 +20,7 @@ function PRINT(exp) {
// repl
var rep = function(str) { return PRINT(EVAL(READ(str), {})); };
+// repl loop
if (typeof require === 'undefined') {
// Asynchronous browser mode
readline.rlwrap(function(line) { return rep(line); },