# HG changeset patch # User Adam Chlipala # Date 1449335560 18000 # Node ID cf2abef213d86df63b5d3aa3cbcda5f96ee0726f # Parent 6eae499c56cb2c4666d72fce856794ea854ee8da Document jsFile diff -r 6eae499c56cb -r cf2abef213d8 doc/manual.tex --- a/doc/manual.tex Sat Dec 05 12:04:06 2015 -0500 +++ b/doc/manual.tex Sat Dec 05 12:12:40 2015 -0500 @@ -153,6 +153,7 @@ \item \texttt{ffi FILENAME} reads the file \texttt{FILENAME.urs} to determine the interface to a new FFI module. The name of the module is calculated from \texttt{FILENAME} in the same way as for normal source files. See the files \texttt{include/urweb/urweb\_cpp.h} and \texttt{src/c/urweb.c} for examples of C headers and implementations for FFI modules. In general, every type or value \texttt{Module.ident} becomes \texttt{uw\_Module\_ident} in C. \item \texttt{html5} activates work-in-progress support for generating HTML5 instead of XHTML. For now, this option only affects the first few tokens on any page, which are always the same. \item \texttt{include FILENAME} adds \texttt{FILENAME} to the list of files to be \texttt{\#include}d in C sources. This is most useful for interfacing with new FFI modules. +\item \texttt{jsFile FILENAME} asks to serve the contents of a file as JavaScript. All such content is concatenated into a single file, included via a \texttt{