annotate tests/babySpawn.ur @ 1943:3ecd0b6360eb

Change where a transaction is marked finished, to avoid forgetting to rollback a failed transaction
author Adam Chlipala <adam@chlipala.net>
date Fri, 27 Dec 2013 12:30:44 -0500
parents d2383ffc18ab
children
rev   line source
adam@1803 1 fun main () : transaction page = return <xml><body>
adam@1803 2 <button onclick={fn _ => spawn (alert "Hi")}/>
adam@1803 3 </body></xml>