view tests/docevents.ur @ 2154:9ea29c93246d

Allow apostrophes in capitalized identifiers
author Adam Chlipala <adam@chlipala.net>
date Thu, 11 Jun 2015 19:06:32 -0400
parents e8863d9f8c59
children
line wrap: on
line source
fun main () : transaction page = return <xml>
  <body onload={onDblclick (fn _ => alert "Double click");
                onContextmenu (fn _ => alert "Context menu");
                onKeypress (fn k => alert ("Keypress: " ^ show k.KeyCode))}>
    Nothing here.
    </body>
</xml>