annotate tests/sleep.ur @ 926:358fca527886

Prevent event bubbling
author Adam Chlipala <adamc@hcoop.net>
date Sat, 12 Sep 2009 10:03:12 -0400
parents 500e93aa436f
children
rev   line source
adamc@695 1 fun annoyer () =
adamc@695 2 alert "Hi!";
adamc@695 3 sleep 5000;
adamc@695 4 annoyer ()
adamc@695 5
adamc@695 6 fun main () : transaction page = return <xml><body onload={annoyer ()}/></xml>
adamc@695 7