Mercurial > urweb
view tests/ctextboxAttrs.ur @ 1906:0d2fdc2cc46c
Allow building in a separate build directory
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
---
Makefile.am | 30 +++---
src/c/Makefile.am | 2 +-
src/compiler.mlb | 2 +-
src/sources | 302 +++++++++++++++++++++++++++---------------------------
4 files changed, 168 insertions(+), 168 deletions(-)
author | Anders Kaseorg <andersk@mit.edu> |
---|---|
date | Fri, 22 Nov 2013 09:36:14 -0500 |
parents | 2e01a36701eb |
children |
line wrap: on
line source
fun main () : transaction page = s <- source "Initial"; return <xml><body> <ctextbox source={s} onclick={fn ev => alert ("Clicky " ^ show ev.ScreenX)} onkeypress={fn ev => alert ("Code " ^ show ev.KeyCode)}/> </body></xml>