summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-12-19 12:38:11 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-12-19 12:38:11 -0500
commite478b4d432d65b33613a601f71204fc0c656c3db (patch)
tree120f43205b07cf55f8d1af41742dd275a4d863ca /tests
parented7c55c7d3d47e59b73cda4d1d7663bec6728934 (diff)
Displayed an alert dialog
Diffstat (limited to 'tests')
-rw-r--r--tests/alert.ur3
-rw-r--r--tests/alert.urp3
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/alert.ur b/tests/alert.ur
new file mode 100644
index 00000000..7b2eaacf
--- /dev/null
+++ b/tests/alert.ur
@@ -0,0 +1,3 @@
+fun main () : transaction page = return <xml><body>
+ <a onclick={alert "You clicked it!"}>Click Me!</a>
+ </body></xml>
diff --git a/tests/alert.urp b/tests/alert.urp
new file mode 100644
index 00000000..3976e9b0
--- /dev/null
+++ b/tests/alert.urp
@@ -0,0 +1,3 @@
+debug
+
+alert