diff options
Diffstat (limited to 'demo')
-rw-r--r-- | demo/counter.ur | 1 | ||||
-rw-r--r-- | demo/prose | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/demo/counter.ur b/demo/counter.ur index b11fc936..23768ad3 100644 --- a/demo/counter.ur +++ b/demo/counter.ur @@ -1,3 +1,4 @@ +(* Workhorse function, which [main] will call *) fun counter n = return <xml><body> Current counter: {[n]}<br/> <a link={counter (n + 1)}>Increment</a><br/> @@ -5,7 +5,7 @@ <blockquote><pre>./configure make sudo make install -urweb -demo /Demo demo</pre></blockquote></p> +urweb -noEmacs -demo /Demo demo</pre></blockquote></p> <p>The <tt>-demo /Demo</tt> flag says that we want to build a demo application that expects its URIs to begin with <tt>/Demo</tt>. The final argument <tt>demo</tt> gives the path to a directory housing demo files. One of the files in that directory is <tt>prose</tt>, a file describing the different demo pieces with HTML. Some lines of <tt>prose</tt> have the form <tt><i>foo</i>.urp</tt>, naming particular project files (with the extension <tt>.urp</tt>) in that directory.</p> |