annotate tests/bodyClick.ur @ 2162:c39c48696393

Allow returnBlob and redirect in static protocol Both of these functions end up returning RETURN_INDIRECTLY, which is assumed to be an error by static.c's main. Treat it as success instead.
author Julian Squires <julian@cipht.net>
date Mon, 13 Jul 2015 14:34:30 -0400
parents d857da05f042
children
rev   line source
adam@2156 1 fun main () : transaction page = return <xml>
adam@2156 2 <body onclick={fn _ => alert "You clicked the body."}
adam@2156 3 onkeyup={fn _ => alert "Key"}>
adam@2156 4 <p>Text</p>
adam@2156 5 </body>
adam@2156 6 </xml>