view demo/alert.ur @ 1800:38297294cf98

New NameJs phase, still needing some debugging
author Adam Chlipala <adam@chlipala.net>
date Thu, 02 Aug 2012 18:12:37 -0400
parents e6bc6bbd7a32
children
line wrap: on
line source
fun main () = return <xml><body>
  <button value="Click me!" onclick={fn _ => alert "You clicked me!"}/>
</body></xml>