annotate tests/namejs.ur @ 1813:4c61bb7acb9b

Minor js optimizations. * flatten() now uses accumulator and join. * reuse regexps instead of allocating new each time
author Vladimir Shabanov <vshabanoff@gmail.com>
date Thu, 30 Aug 2012 17:58:37 +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>