Mercurial > urweb
view tests/sleep.ur @ 908:ed06e25c70ef
Convert to requiring explicit 'rpc' marker
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sat, 22 Aug 2009 12:55:18 -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>