view tests/sleep.ur @ 1967:fca98a6cbe23

Merge
author Adam Chlipala <adam@chlipala.net>
date Sun, 09 Feb 2014 19:29:50 -0500
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>