view tests/sleep.ur @ 1541:94ef0b07066a

Fix bug in JavaScript embedding of lists
author Adam Chlipala <adam@chlipala.net>
date Mon, 15 Aug 2011 12:33:28 -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>