comparison demo/alert.ur @ 1784:e6bc6bbd7a32

Update demo code for key/mouse handler change
author Adam Chlipala <adam@chlipala.net>
date Sat, 21 Jul 2012 10:12:35 -0400
parents 8e17e6b615bd
children
comparison
equal deleted inserted replaced
1783:5bc4fbf9c0fe 1784:e6bc6bbd7a32
1 fun main () = return <xml><body> 1 fun main () = return <xml><body>
2 <button value="Click me!" onclick={alert "You clicked me!"}/> 2 <button value="Click me!" onclick={fn _ => alert "You clicked me!"}/>
3 </body></xml> 3 </body></xml>