view tests/reactive3.ur @ 1300:e3944a8a128a

Mention empty-third-field 'rewrite' directives
author Adam Chlipala <adam@chlipala.net>
date Thu, 30 Sep 2010 18:12:04 -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>