annotate tests/namejs.ur @ 1924:b44138e6a3bf

Add activeHead tag. activeHead is similar to active but produces xhead instead of xbody
author Sergey Mironov <grrwlf@gmail.com>
date Fri, 06 Dec 2013 13:59:39 +0400
parents 38297294cf98
children
rev   line source
adam@1800 1 fun main (n : int) (s : string) : transaction page = return <xml><body>
adam@1800 2 <button onclick={fn _ => alert ("n = " ^ show n ^ "; s = " ^ s)}/>
adam@1800 3 </body></xml>