Mercurial > urweb
view tests/jserror.ur @ 1614:efe1a2e9e4de
Support 'safeGet' in demos
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Fri, 25 Nov 2011 17:19:34 -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>