aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/css.php
diff options
context:
space:
mode:
authorjaubourg <aubourg.julian@gmail.com>2010-12-09 13:34:28 -0500
committerjeresig <jeresig@gmail.com>2010-12-09 13:34:28 -0500
commitab3ba4a81252c4357a7aab5f24d765d41d47986e (patch)
tree75c16f8e7cd8a41041ee19855e799d15c074fd67 /test/data/css.php
parent29616e60c88bf300f4b2ee4ad1a89a8ac6481027 (diff)
downloadjquery-ab3ba4a81252c4357a7aab5f24d765d41d47986e.tar.gz
jquery-ab3ba4a81252c4357a7aab5f24d765d41d47986e.zip
Rewrite of the Ajax module by Julian Aubourg. Some (dated) details can be found here: http://oksoclap.com/6Y26bm1ZsB more details are forthcoming. Fixes #7195.
Diffstat (limited to 'test/data/css.php')
-rw-r--r--test/data/css.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/data/css.php b/test/data/css.php
new file mode 100644
index 000000000..9d079e73f
--- /dev/null
+++ b/test/data/css.php
@@ -0,0 +1,15 @@
+<?php
+error_reporting(0);
+$id = isset ( $_REQUEST['id'] ) ? $_REQUEST['id'] : null;
+$wait = isset( $_REQUEST['wait'] ) ? $_REQUEST['wait'] : null;
+
+if ( $wait ) sleep( $wait );
+
+header("Content-type: text/css");
+
+if ( $id ) {
+ ?>
+ div#<?= $id ?> { margin-left: 27px }
+ <?php
+}
+?> \ No newline at end of file