Mercurial > urweb
view tests/csdebug.ur @ 1763:22858505bb2d
Allow RPC and run it synchronously in onunload event.
author | Vladimir Shabanov <vshabanoff@gmail.com> |
---|---|
date | Wed, 16 May 2012 22:46:35 +0400 |
parents | bd34a4af516a |
children |
line wrap: on
line source
fun main () : transaction page = n <- source 0; return <xml><body> <button onclick={n' <- get n; set n (n' + 1); debug ("Message: " ^ show n')}/> </body></xml>