aboutsummaryrefslogtreecommitdiffhomepage
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
commitc5521a5f402e3d5f7c2e9c4a36966df196a70fdd (patch)
treef5adaf9114e53a401ad26536bd644f4e1b1d6691 /tests/onerrorJs.ur
parentf298db67c58c3ecba7a8bd8bfc91d33e9be30952 (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/>