log
graph
tags
bookmarks
branches
changeset
browse
file
latest
diff
comparison
annotate
file log
raw
help
Mercurial
>
urweb
annotate tests/appjs.ur @ 1542:dc4c61363d0a
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
Add timestamps to 'app.js' filenames, to prevent inappropriate caching by browsers
author
Adam Chlipala <adam@chlipala.net>
date
Fri, 19 Aug 2011 08:59:01 -0400
parents
children
rev
line source
adam@1542
1
fun id n = if n = 0 then 0 else 1 + id (n - 1)
adam@1542
2
adam@1542
3
fun main () : transaction page = return <xml><body>
adam@1542
4
<button onclick={alert (show (id 3))}/>
adam@1542
5
</body></xml>