Mercurial > urweb
view tests/onerrorJs.ur @ 1776:8f28c3295148
Compiled a window function use
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 02 Jun 2012 16:00:50 -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/>