annotate demo/alert.ur @ 2153:39bd1d4007a9

Apply syntax sugar for 'class' attribute to <form> as well
author Adam Chlipala <adam@chlipala.net>
date Mon, 08 Jun 2015 11:11:46 -0400
parents e6bc6bbd7a32
children
rev   line source
adamc@644 1 fun main () = return <xml><body>
adam@1784 2 <button value="Click me!" onclick={fn _ => alert "You clicked me!"}/>
adamc@644 3 </body></xml>