diff options
author | Adam Chlipala <adam@chlipala.net> | 2012-11-28 16:56:45 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2012-11-28 16:56:45 -0500 |
commit | 9d38076e9a1dc49faec13596a2f707269c2a0ad7 (patch) | |
tree | bd2859407b849d931b71002f26d94e4340f0d5f7 /tests | |
parent | 550c44b258fcbb3248cda6c6401ae17f513d0ba5 (diff) |
Allow any FFI module to declare new HTML tags
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ffitag.ur | 3 | ||||
-rw-r--r-- | tests/ffitag.urp | 4 | ||||
-rw-r--r-- | tests/tagffi.urs | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/tests/ffitag.ur b/tests/ffitag.ur new file mode 100644 index 00000000..43ec5bf7 --- /dev/null +++ b/tests/ffitag.ur @@ -0,0 +1,3 @@ +open Tagffi + +fun main () : transaction page = return <xml><body><funky>test</funky></body></xml> diff --git a/tests/ffitag.urp b/tests/ffitag.urp new file mode 100644 index 00000000..5c7f5409 --- /dev/null +++ b/tests/ffitag.urp @@ -0,0 +1,4 @@ +ffi tagffi +rewrite all Ffitag/* + +ffitag diff --git a/tests/tagffi.urs b/tests/tagffi.urs new file mode 100644 index 00000000..87ee01cb --- /dev/null +++ b/tests/tagffi.urs @@ -0,0 +1 @@ +val funky : bodyTag boxAttrs |