view tests/jserror.ur @ 2091:35c1341b0179

Compatibility fix in header file
author Adam Chlipala <adam@chlipala.net>
date Sun, 21 Dec 2014 13:20:11 -0500
parents ba4c230b7231
children
line wrap: on
line source
fun main () : transaction page = return <xml>
  <body onload={onError (fn s => alert ("There was an error: " ^ show s)); error <xml>Badder</xml>}/>
</xml>