annotate tests/sleep.ur @ 2087:834b438d57f3

Move code from last changeset, to improve performance
author Adam Chlipala <adam@chlipala.net>
date Fri, 05 Dec 2014 19:41:27 -0500
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