diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-06-17 18:22:05 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-06-17 18:22:05 -0700 |
commit | 51f25445350fc2b4c7912647043296dc18aed214 (patch) | |
tree | fd4765cf40518791dabb4ff2b84d7cc6071ba4f7 /src/shell.html | |
parent | 49686a2a0fa86fdf1db7e15af84d91081e756a8e (diff) |
define preRun and postRun in browser html
Diffstat (limited to 'src/shell.html')
-rw-r--r-- | src/shell.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shell.html b/src/shell.html index dad50b9f..a199980e 100644 --- a/src/shell.html +++ b/src/shell.html @@ -23,6 +23,8 @@ <script type='text/javascript'> // connect to canvas var Module = { + preRun: [], + postRun: [], print: (function() { var element = document.getElementById('output'); element.value = ''; // clear browser cache |