From 7a7628a3feaec81d9a445acbec604baecac3a167 Mon Sep 17 00:00:00 2001 From: quou Date: Sat, 12 Oct 2024 00:23:57 +1100 Subject: sdl + emscripten backend --- 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..10694e2 --- /dev/null +++ b/ems/template.html @@ -0,0 +1,48 @@ + + + + + + hftrss + + + + + + + + + {{{ SCRIPT }}} + + -- cgit v1.2.3-54-g00ecf