summaryrefslogtreecommitdiff
path: root/tests/appjs.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-08-19 08:59:01 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2011-08-19 08:59:01 -0400
commit4566f7c929223345423d66554be1015acf3cefb9 (patch)
tree590cf1011292fdf19844803e40b034f3970d5161 /tests/appjs.ur
parent3be0c7ef9d8ed5606b4f82940b333f5f4045e1f0 (diff)
Add timestamps to 'app.js' filenames, to prevent inappropriate caching by browsers
Diffstat (limited to 'tests/appjs.ur')
-rw-r--r--tests/appjs.ur5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/appjs.ur b/tests/appjs.ur
new file mode 100644
index 00000000..01e9f345
--- /dev/null
+++ b/tests/appjs.ur
@@ -0,0 +1,5 @@
+fun id n = if n = 0 then 0 else 1 + id (n - 1)
+
+fun main () : transaction page = return <xml><body>
+ <button onclick={alert (show (id 3))}/>
+</body></xml>