aboutsummaryrefslogtreecommitdiff
path: root/src/shell.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/shell.html')
-rw-r--r--src/shell.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shell.html b/src/shell.html
index dad50b9f..c04ae84b 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
@@ -63,7 +65,7 @@
totalDependencies: 0,
monitorRunDependencies: function(left) {
this.totalDependencies = Math.max(this.totalDependencies, left);
- Module.setStatus(left ? 'Downloading: ' + (this.totalDependencies-left) + '/' + this.totalDependencies + '...' : 'All downloads complete.');
+ Module.setStatus(left ? 'Preparing: ' + (this.totalDependencies-left) + '/' + this.totalDependencies + '...' : 'All downloads complete.');
}
};
Module.setStatus('Downloading...');