annotate tests/vlad4.ur @ 1457:aa2398e58306

Escape less-than in JavaScript strings
author Adam Chlipala <adam@chlipala.net>
date Thu, 12 May 2011 17:14:13 -0400
parents fe470db7feea
children
rev   line source
adam@1398 1 fun main () : transaction page =
adam@1398 2 s <- source "";
adam@1398 3 return <xml><body>
adam@1398 4 <ctextbox source={s} value="123" onchange={s <- get s; alert (s ^ "!")}/>
adam@1398 5 <dyn signal={s <- signal s; return (txt s)}/>
adam@1398 6 </body></xml>