view tests/alert.ur @ 2039:3d10ae22abd6

Default 'jsFunc' for less-safe FFI
author Adam Chlipala <adam@chlipala.net>
date Wed, 16 Jul 2014 04:06:11 -0400
parents 1901db85acb4
children
line wrap: on
line source
fun main () : transaction page = return <xml><body>
    <a onclick={alert "You clicked it!  That's some fancy shooting!"}>Click Me!</a>
  </body></xml>