summaryrefslogtreecommitdiff
path: root/tests/onerrorJs.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2012-04-28 12:00:35 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2012-04-28 12:00:35 -0400
commit626d7f93ab6873961e6b8c64f28ad36c808efd38 (patch)
treef5adaf9114e53a401ad26536bd644f4e1b1d6691 /tests/onerrorJs.ur
parent79655cfc46cd36b6c52038cacb33ea5d5adac0fe (diff)
Include JavaScript files properly in error handler pages
Diffstat (limited to 'tests/onerrorJs.ur')
-rw-r--r--tests/onerrorJs.ur4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/onerrorJs.ur b/tests/onerrorJs.ur
new file mode 100644
index 00000000..b53f883e
--- /dev/null
+++ b/tests/onerrorJs.ur
@@ -0,0 +1,4 @@
+fun main n =
+ case n of
+ 0 => error <xml>Zero is bad! <button value="Capische?" onclick={alert "GOOD!"}/></xml>
+ | _ => return <xml/>