view tests/polyjs.ur @ 2197:6eae499c56cb

New .urp directive: jsFile
author Adam Chlipala <adam@chlipala.net>
date Sat, 05 Dec 2015 12:04:06 -0500
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>