Mercurial > urweb
view tests/docevents.ur @ 2293:8be54d7bd06e
Trivial change to benchmark.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Wed, 18 Nov 2015 14:48:24 -0500 |
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>