diff --git a/HTMLshell.html b/HTMLshell.html index 3af5da2..ab7762e 100644 --- a/HTMLshell.html +++ b/HTMLshell.html @@ -65,31 +65,11 @@ { return document.getElementById('canvas'); } - )(), - onRuntimeInitialized: function() - { - pressFunc = Module.cwrap('webButton','', ['number','number']); - } + )() }; - - function down(button) - { - pressFunc(button,1); - } - - function up(button) - { - pressFunc(button,0); - } {{{ SCRIPT }}} -