Mercurial > urweb
view tests/reactive3.ur @ 2284:472b4504aef2
Actually use transactional machinery for flushes this time.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Thu, 12 Nov 2015 11:44:21 -0500 |
parents | 0094e0242100 |
children |
line wrap: on
line source
fun main () : transaction page = x <- source <xml>TEST</xml>; return <xml><body> <dyn signal={signal x}/> <br/> <a onclick={alert "Changing...."; set x <xml>CHANGEUP</xml>}>Oh My</a> </body></xml>