aboutsummaryrefslogtreecommitdiff
path: root/emccpre.js
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2013-04-05 15:49:18 +0000
committerSimon Tatham <anakin@pobox.com>2013-04-05 15:49:18 +0000
commit3bc0e5cc2443983947cff915bc10b76a9f5ec83b (patch)
treed720e057b0d5fd48ccad8681d711e730ca4bc477 /emccpre.js
parenta752e7372021c1eea5df433f08e53fae1983e8ec (diff)
downloadpuzzles-3bc0e5cc2443983947cff915bc10b76a9f5ec83b.zip
puzzles-3bc0e5cc2443983947cff915bc10b76a9f5ec83b.tar.gz
puzzles-3bc0e5cc2443983947cff915bc10b76a9f5ec83b.tar.bz2
puzzles-3bc0e5cc2443983947cff915bc10b76a9f5ec83b.tar.xz
Clarify header comments in the Emscripten frontend's source files to
mention that the HTML pages generated by html/jspage.pl are also an integral part of this front end. (The NestedVM frontend is more self-contained, needing only an appropriate <applet> tag, but this one expects quite a few components to exist on the page and have the right ids.) [originally from svn r9803]
Diffstat (limited to 'emccpre.js')
-rw-r--r--emccpre.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/emccpre.js b/emccpre.js
index e2986da..fb58a6a 100644
--- a/emccpre.js
+++ b/emccpre.js
@@ -2,7 +2,11 @@
* emccpre.js: one of the Javascript components of an Emscripten-based
* web/Javascript front end for Puzzles.
*
- * The other parts of this system live in emcc.c and emcclib.js.
+ * The other parts of this system live in emcc.c and emcclib.js. It
+ * also depends on being run in the context of a web page containing
+ * an appropriate collection of bits and pieces (a canvas, some
+ * buttons and links etc), which is generated for each puzzle by the
+ * script html/jspage.pl.
*
* This file contains the Javascript code which is prefixed unmodified
* to Emscripten's output via the --pre-js option. It declares all our