-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSamples.HelloWorld.html
More file actions
1 lines (1 loc) · 908 Bytes
/
Copy pathSamples.HelloWorld.html
File metadata and controls
1 lines (1 loc) · 908 Bytes
1
<!doctypehtml><html><head><meta charset=utf-8><title>NoesisGUI - HelloWorld</title><style>body{margin:0}.emscripten{border:0;margin:0;top:0;left:0;width:100%;height:100%;position:absolute;overflow:hidden;display:block}</style></head><body><canvas class=emscripten id=canvas oncontextmenu=event.preventDefault() tabindex=-1></canvas><script>var Module={preRun:[],postRun:[],print:function(n){n=Array.prototype.slice.call(arguments).join(" "),console.log(n)},printErr:function(n){n=Array.prototype.slice.call(arguments).join(" "),console.error(n)},canvas:function(){var n=document.getElementById("canvas");return n.addEventListener("webglcontextlost",(function(n){alert("WebGL context lost"),n.preventDefault()}),!1),n}(),setStatus:function(n){},monitorRunDependencies:function(n){}};window.onerror=function(n){console.log("onerror: "+n)}</script><script async src=Samples.HelloWorld.js></script></body></html>