view tests/onerrorJs.ur @ 1951:ec8ee418df69

Return to working version mode
author Adam Chlipala <adam@chlipala.net>
date Tue, 31 Dec 2013 11:10:19 -0500
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/>