diff options
Diffstat (limited to 'src/shell.html')
-rw-r--r-- | src/shell.html | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/shell.html b/src/shell.html index c096a314..6b6bbdad 100644 --- a/src/shell.html +++ b/src/shell.html @@ -19,12 +19,6 @@ })(), canvas: document.getElementById('canvas') }; - try { - Module.ctx2D = Module.canvas.getContext('2d'); - if (!Module.ctx2D) throw 'Could not create canvas :('; - } catch (e) { - Module.print('(canvas not available)'); - } // The compiled code {{{ SCRIPT_CODE }}} |