From 4629675329f872c9dd4672402b9b9e5e593fec19 Mon Sep 17 00:00:00 2001 From: quou Date: Sat, 6 May 2023 16:51:36 +1000 Subject: Building and running for emscripten. --- ems/post_run.js | 3 +++ ems/template.html | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 ems/post_run.js create mode 100644 ems/template.html (limited to 'ems') diff --git a/ems/post_run.js b/ems/post_run.js new file mode 100644 index 0000000..b52a931 --- /dev/null +++ b/ems/post_run.js @@ -0,0 +1,3 @@ +addOnPostRun(function() { + document.getElementById('canvas').focus(); +}); diff --git a/ems/template.html b/ems/template.html new file mode 100644 index 0000000..cc5985d --- /dev/null +++ b/ems/template.html @@ -0,0 +1,48 @@ + + + + + + malloc(bullet); + + + + + + + + + {{{ SCRIPT }}} + + -- cgit v1.2.3-54-g00ecf