git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Makes the promise method of Deferreds a bit more readable by not using the variable...
[jquery.git]
/
test
/
data
/
script.php
diff --git
a/test/data/script.php
b/test/data/script.php
index
55d7bc2
..
fb71104
100644
(file)
--- a/
test/data/script.php
+++ b/
test/data/script.php
@@
-1,7
+1,11
@@
<?php
error_reporting(0);
if ( $_REQUEST['header'] ) {
<?php
error_reporting(0);
if ( $_REQUEST['header'] ) {
- header("Content-type: text/javascript");
+ if ( $_REQUEST['header'] == "ecma" ) {
+ header("Content-type: application/ecmascript");
+ } else {
+ header("Content-type: text/javascript");
+ }
}
?>
ok( true, "Script executed correctly." );
}
?>
ok( true, "Script executed correctly." );