annotate demo/alert.ur @ 1935:fda9d5af69e7

Only output Content-script-type header when there is client-side code
author Adam Chlipala <adam@chlipala.net>
date Thu, 12 Dec 2013 10:31:34 -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>