view tests/reactive3.ur @ 1483:ebc30bb262d0

For non-debug builds, leave out source location info in what is shown to user
author Adam Chlipala <adam@chlipala.net>
date Sun, 03 Jul 2011 12:40:00 -0400
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>