annotate tests/bodyClick.ur @ 2297:6d56080f495c

Fix a read-after-free bug using a timestamp check
author Adam Chlipala <adam@chlipala.net>
date Thu, 19 Nov 2015 13:18:58 -0500
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>