Mercurial > urweb
annotate tests/showTime.ur @ 2237:e79ef5792c8b
Fix bug in redundancy checking and use finer formula for UPDATE statements.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Sun, 05 Jul 2015 23:57:28 -0700 |
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> |