Mercurial > urweb
view tests/csdebug.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 | bd34a4af516a |
children |
line wrap: on
line source
fun main () : transaction page = n <- source 0; return <xml><body> <button onclick={n' <- get n; set n (n' + 1); debug ("Message: " ^ show n')}/> </body></xml>