Mercurial > urweb
view tests/onerrorJs.ur @ 2010:403f0cc65b9c
New lessSafeFfi
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Fri, 02 May 2014 19:19:09 -0400 |
parents | 27e731a65934 |
children |
line wrap: on
line source
fun main n = case n of 0 => error <xml>Zero is bad! <button value="Capische?" onclick={alert "GOOD!"}/></xml> | _ => return <xml/>