view tests/sleep.ur @ 1485:4300592e6803

Basis.currentUrlHasQueryString
author Adam Chlipala <adam@chlipala.net>
date Sun, 03 Jul 2011 16:21:04 -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>