Added a way to run the test suite as an XHTML page.
authorJohn Resig <jeresig@gmail.com>
Mon, 19 Jan 2009 18:14:51 +0000 (18:14 +0000)
committerJohn Resig <jeresig@gmail.com>
Mon, 19 Jan 2009 18:14:51 +0000 (18:14 +0000)
test/xhtml.php [new file with mode: 0644]

diff --git a/test/xhtml.php b/test/xhtml.php
new file mode 100644 (file)
index 0000000..1d2872e
--- /dev/null
@@ -0,0 +1,5 @@
+<?php
+       # Load and run the test suite as a proper XHTML page
+       header("Content-type: application/xhtml+xml");
+       readfile("index.html");
+?>