Skip to content

Commit d91015d

Browse files
committed
simplify Emscripten shell.html
1 parent b7f25d9 commit d91015d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

webpage/shell.html

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
<script type='text/javascript'>
3333
var Module = {
3434
preRun: [],
35-
postRun: [],
3635
print: (function() {
3736
return function(text) {
3837
text = Array.prototype.slice.call(arguments).join(' ');
@@ -43,13 +42,6 @@
4342
text = Array.prototype.slice.call(arguments).join(' ');
4443
console.error(text);
4544
},
46-
canvas: (function() {
47-
var canvas = document.getElementById('canvas');
48-
//canvas.addEventListener("webglcontextlost", function(e) { alert('FIXME: WebGL context lost, please reload the page'); e.preventDefault(); }, false);
49-
return canvas;
50-
})(),
51-
setStatus: function(text) { },
52-
monitorRunDependencies: function(left) { },
5345
};
5446
window.onerror = function() {
5547
console.log("onerror: " + event.message);

0 commit comments

Comments
 (0)