view tests/polyjs.ur @ 2227:adb49db02af4

Fix type in flush FFI call to option string (rather than string).
author Ziv Scully <ziv@mit.edu>
date Tue, 31 Mar 2015 04:10:46 -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>