view tests/sleep.ur @ 1816:ae8b0e05522a

Manual addition for last changeset
author Adam Chlipala <adam@chlipala.net>
date Tue, 04 Sep 2012 16:30:22 -0400
parents 500e93aa436f
children
line wrap: on
line source
fun annoyer () =
    alert "Hi!";
    sleep 5000;
    annoyer ()

fun main () : transaction page = return <xml><body onload={annoyer ()}/></xml>