From 3bc0e5cc2443983947cff915bc10b76a9f5ec83b Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 5 Apr 2013 15:49:18 +0000 Subject: 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 tag, but this one expects quite a few components to exist on the page and have the right ids.) [originally from svn r9803] --- emcclib.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'emcclib.js') diff --git a/emcclib.js b/emcclib.js index 6c37c9b..cbdd668 100644 --- a/emcclib.js +++ b/emcclib.js @@ -2,7 +2,11 @@ * emcclib.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 emccpre.js. + * The other parts of this system live in emcc.c and emccpre.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 a set of Javascript functions which we insert * into Emscripten's library object via the --js-library option; this -- cgit v1.1