mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
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]
This commit is contained in:
5
emcc.c
5
emcc.c
@ -3,7 +3,10 @@
|
|||||||
* end for Puzzles.
|
* end for Puzzles.
|
||||||
*
|
*
|
||||||
* The Javascript parts of this system live in emcclib.js and
|
* The Javascript parts of this system live in emcclib.js and
|
||||||
* emccpre.js.
|
* 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.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -2,7 +2,11 @@
|
|||||||
* emcclib.js: one of the Javascript components of an Emscripten-based
|
* emcclib.js: one of the Javascript components of an Emscripten-based
|
||||||
* web/Javascript front end for Puzzles.
|
* 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
|
* This file contains a set of Javascript functions which we insert
|
||||||
* into Emscripten's library object via the --js-library option; this
|
* into Emscripten's library object via the --js-library option; this
|
||||||
|
@ -2,7 +2,11 @@
|
|||||||
* emccpre.js: one of the Javascript components of an Emscripten-based
|
* emccpre.js: one of the Javascript components of an Emscripten-based
|
||||||
* web/Javascript front end for Puzzles.
|
* 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
|
* This file contains the Javascript code which is prefixed unmodified
|
||||||
* to Emscripten's output via the --pre-js option. It declares all our
|
* to Emscripten's output via the --pre-js option. It declares all our
|
||||||
|
Reference in New Issue
Block a user