Mercurial > urweb
diff demo/increment.ur @ 908:ed06e25c70ef
Convert to requiring explicit 'rpc' marker
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sat, 22 Aug 2009 12:55:18 -0400 |
parents | a44daa674810 |
children | e6bc6bbd7a32 |
line wrap: on
line diff
--- a/demo/increment.ur Tue Aug 11 12:01:54 2009 -0400 +++ b/demo/increment.ur Sat Aug 22 12:55:18 2009 -0400 @@ -6,5 +6,5 @@ src <- source 0; return <xml><body> <dyn signal={n <- signal src; return <xml>{[n]}</xml>}/> - <button value="Update" onclick={n <- increment (); set src n}/> + <button value="Update" onclick={n <- rpc (increment ()); set src n}/> </body></xml>