annotate tests/jserror.ur @ 726:6fc633d990e7

onError
author Adam Chlipala <adamc@hcoop.net>
date Thu, 16 Apr 2009 12:36:01 -0400
parents
children ba4c230b7231
rev   line source
adamc@726 1 fun main () : transaction page = return <xml>
adamc@726 2 <body onload={onError (fn s => alert "There was an error."); error <xml>Badder</xml>}/>
adamc@726 3 </xml>