Skip to content

Commit 4835374

Browse files
committed
also cleanup webpage/wasm.html
1 parent d91015d commit 4835374

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

webpage/wasm.html

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@
6262
<script type="text/javascript">
6363
var Module = {
6464
preRun: [],
65-
postRun: [],
6665
print: (function() {
6766
return function(text) {
6867
text = Array.prototype.slice.call(arguments).join(' ');
@@ -73,13 +72,6 @@
7372
text = Array.prototype.slice.call(arguments).join(' ');
7473
console.error(text);
7574
},
76-
canvas: (function() {
77-
var canvas = document.getElementById('canvas');
78-
canvas.addEventListener("webglcontextlost", function(e) { alert('FIXME: WebGL context lost, please reload the page'); e.preventDefault(); }, false);
79-
return canvas;
80-
})(),
81-
setStatus: function(text) { },
82-
monitorRunDependencies: function(left) { },
8375
};
8476
window.onerror = function(event) {
8577
console.log("onerror: " + event.message);

0 commit comments

Comments
 (0)