diff options
author | Adam Chlipala <adam@chlipala.net> | 2012-04-28 12:00:35 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2012-04-28 12:00:35 -0400 |
commit | 626d7f93ab6873961e6b8c64f28ad36c808efd38 (patch) | |
tree | f5adaf9114e53a401ad26536bd644f4e1b1d6691 /tests | |
parent | 79655cfc46cd36b6c52038cacb33ea5d5adac0fe (diff) |
Include JavaScript files properly in error handler pages
Diffstat (limited to 'tests')
-rw-r--r-- | tests/onerrorJs.ur | 4 | ||||
-rw-r--r-- | tests/onerrorJs.urp | 4 | ||||
-rw-r--r-- | tests/onerrorJs.urs | 1 |
3 files changed, 9 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/> diff --git a/tests/onerrorJs.urp b/tests/onerrorJs.urp new file mode 100644 index 00000000..2ce197e6 --- /dev/null +++ b/tests/onerrorJs.urp @@ -0,0 +1,4 @@ +onError OnerrorE.err + +onerrorE +onerrorJs diff --git a/tests/onerrorJs.urs b/tests/onerrorJs.urs new file mode 100644 index 00000000..38b757ea --- /dev/null +++ b/tests/onerrorJs.urs @@ -0,0 +1 @@ +val main : int -> transaction page |