view tests/reactive3.ur @ 1522:4d0b80dd4c37

Introduce URWEB_STACK_SIZE environment variable (based on a patch by Hao Deng)
author Adam Chlipala <adam@chlipala.net>
date Tue, 02 Aug 2011 14:31:37 -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>