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 | c5521a5f402e3d5f7c2e9c4a36966df196a70fdd (patch) | |
tree | f5adaf9114e53a401ad26536bd644f4e1b1d6691 /tests | |
parent | f298db67c58c3ecba7a8bd8bfc91d33e9be30952 (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 |