view tests/polyjs.ur @ 2145:5a010f408f36

Do not explicitly return false from onclick handler
author Julian Squires <julian@cipht.net>
date Thu, 07 May 2015 09:50:37 -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>