Mercurial > urweb
annotate tests/showTime.ur @ 1906:0d2fdc2cc46c
Allow building in a separate build directory
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
---
Makefile.am | 30 +++---
src/c/Makefile.am | 2 +-
src/compiler.mlb | 2 +-
src/sources | 302 +++++++++++++++++++++++++++---------------------------
4 files changed, 168 insertions(+), 168 deletions(-)
author | Anders Kaseorg <andersk@mit.edu> |
---|---|
date | Fri, 22 Nov 2013 09:36:14 -0500 |
parents | 438561303d02 |
children |
rev | line source |
---|---|
adam@1629 | 1 fun main () : transaction page = |
adam@1629 | 2 tm <- now; |
adam@1629 | 3 s <- source tm; |
adam@1629 | 4 return <xml><body> |
adam@1629 | 5 <b>Server:</b> {[tm]}<br/> |
adam@1629 | 6 <b>Client:</b> <dyn signal={v <- signal s; return (txt v)}/> |
adam@1629 | 7 <button value="Recalculate" onclick={tm <- now; set s tm}/> |
adam@1629 | 8 </body></xml> |