annotate tests/jserror.ur @ 2046:ced78ef1c82f

New .urp directive: file
author Adam Chlipala <adam@chlipala.net>
date Thu, 31 Jul 2014 09:56:41 -0400
parents ba4c230b7231
children
rev   line source
adamc@726 1 fun main () : transaction page = return <xml>
adamc@727 2 <body onload={onError (fn s => alert ("There was an error: " ^ show s)); error <xml>Badder</xml>}/>
adamc@726 3 </xml>