aboutsummaryrefslogtreecommitdiff
path: root/src/shell.html
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-03-25 14:14:16 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-03-25 14:14:16 -0700
commit9984c82c80d3d0900bb2364f0bca1225a4fce6b0 (patch)
treeab1bbc2ec88d7761b3aa3cbccb09016e4b3031b6 /src/shell.html
parent74acbe73a850d25022e54cbe1c2d4adb6c9223fa (diff)
clear html debug output
Diffstat (limited to 'src/shell.html')
-rw-r--r--src/shell.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shell.html b/src/shell.html
index 31ac8c9c..ac86e5e0 100644
--- a/src/shell.html
+++ b/src/shell.html
@@ -15,6 +15,7 @@
var Module = {
print: (function() {
var element = document.getElementById('output');
+ element.value = ''; // clear browser cache
return function(text) {
text = text.replace(/&/g, "&amp;");
text = text.replace(/</g, "&lt;");