annotate tests/sleep.ur @ 1935:fda9d5af69e7

Only output Content-script-type header when there is client-side code
author Adam Chlipala <adam@chlipala.net>
date Thu, 12 Dec 2013 10:31:34 -0500
parents 500e93aa436f
children
rev   line source
adamc@695 1 fun annoyer () =
adamc@695 2 alert "Hi!";
adamc@695 3 sleep 5000;
adamc@695 4 annoyer ()
adamc@695 5
adamc@695 6 fun main () : transaction page = return <xml><body onload={annoyer ()}/></xml>
adamc@695 7