diff options
author | Oleg Gaidarenko <markelog@gmail.com> | 2015-02-10 22:42:21 +0300 |
---|---|---|
committer | Oleg Gaidarenko <markelog@gmail.com> | 2015-02-15 02:01:59 +0300 |
commit | 4ef120d3f2578fe3d52eb6c0d0641df945991391 (patch) | |
tree | 9b836dd55f80398f5203bc2497d30a1e8d0cb51d /test/data/ajax | |
parent | 0ac28ed293681cb8f2e9fdd11efa0021da039c84 (diff) | |
download | jquery-4ef120d3f2578fe3d52eb6c0d0641df945991391.tar.gz jquery-4ef120d3f2578fe3d52eb6c0d0641df945991391.zip |
Ajax: make jQuery#load "type" field explicit
* Move "evalScript.php" file to appropriate place
* Make jQuery#load "type" field explicit and add test for it
Ref trac-11264
Diffstat (limited to 'test/data/ajax')
-rw-r--r-- | test/data/ajax/evalScript.php | 1 | ||||
-rw-r--r-- | test/data/ajax/method.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/test/data/ajax/evalScript.php b/test/data/ajax/evalScript.php new file mode 100644 index 000000000..ea9b8c55f --- /dev/null +++ b/test/data/ajax/evalScript.php @@ -0,0 +1 @@ +ok( "<?php echo $_SERVER['REQUEST_METHOD'] ?>" === "GET", "request method is <?php echo $_SERVER['REQUEST_METHOD'] ?>" );
\ No newline at end of file diff --git a/test/data/ajax/method.php b/test/data/ajax/method.php new file mode 100644 index 000000000..d76ff964b --- /dev/null +++ b/test/data/ajax/method.php @@ -0,0 +1 @@ +<?php echo $_SERVER['REQUEST_METHOD'] ?> |