annotate demo/alert.ur @ 1840:146ec8e90063

Add some name-mangling rules to allow XML attribute 'name' and attributes with dashes
author Adam Chlipala <adam@chlipala.net>
date Thu, 27 Dec 2012 15:34:11 -0500
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>