diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-03-25 14:14:16 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-03-25 14:14:16 -0700 |
commit | 9984c82c80d3d0900bb2364f0bca1225a4fce6b0 (patch) | |
tree | ab1bbc2ec88d7761b3aa3cbccb09016e4b3031b6 /src/shell.html | |
parent | 74acbe73a850d25022e54cbe1c2d4adb6c9223fa (diff) |
clear html debug output
Diffstat (limited to 'src/shell.html')
-rw-r--r-- | src/shell.html | 1 |
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, "&"); text = text.replace(/</g, "<"); |