view tests/polyjs.ur @ 1845:c1e3805e604e

Make Scriptcheck catch more script/message-passing uses, and move the phase earlier in compilation
author Adam Chlipala <adam@chlipala.net>
date Fri, 15 Mar 2013 16:09:55 -0400
parents 276fa06428ba
children
line wrap: on
line source
open PolyjsFfi

fun main () : transaction page = return <xml><body>
  <button onclick={fn _ => alert (one "hi" ^ two "bye")}/>
</body></xml>