view tests/jserror.ur @ 1108:82ac88b4e0a7

Proper client-side attrifyString
author Adam Chlipala <adamc@hcoop.net>
date Fri, 01 Jan 2010 10:49:36 -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>