summaryrefslogtreecommitdiff
path: root/static/js/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/js/main.js')
-rw-r--r--static/js/main.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/static/js/main.js b/static/js/main.js
index 7cd8e26..d09c3c0 100644
--- a/static/js/main.js
+++ b/static/js/main.js
@@ -102,6 +102,9 @@ class Editor extends Component {
this.output += s.toString().toUpperCase() + '!\n';
this.render();
},
+ input: s => {
+ return prompt(s);
+ },
});
env.run(nodes);
} catch (e) {