Mercurial > urweb
view tests/rpcSource.ur @ 2270:1e3ba868f8bf
Merge.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Mon, 19 Oct 2015 14:42:22 -0400 |
parents | 43f22a8f76cc |
children |
line wrap: on
line source
fun remote () = s <- source <xml/>; return (s, <xml><dyn signal={signal s}/></xml>) fun main () : transaction page = x <- source <xml/>; return <xml><body> <dyn signal={signal x}/> <hr/> <button onclick={p <- rpc (remote ()); set x p.2; set p.1 <xml>Hi!</xml>}/> </body></xml>