aboutsummaryrefslogtreecommitdiffstats
path: root/test/data
diff options
context:
space:
mode:
authorMark Gibson <jollytoad@gmail.com>2009-11-25 12:09:53 -0500
committerJohn Resig <jeresig@Archimedes.local>2009-11-25 12:09:53 -0500
commitef819c91b999523ed6cd0c7029e0cee8997ef01a (patch)
treee089f7d598c1872dfa159cfc1a0527da4bd3bded /test/data
parent0bb3998a6a7a82b4c4269f3c57a9fcbe7229b162 (diff)
downloadjquery-ef819c91b999523ed6cd0c7029e0cee8997ef01a.tar.gz
jquery-ef819c91b999523ed6cd0c7029e0cee8997ef01a.zip
Fixing endlines.
Diffstat (limited to 'test/data')
-rw-r--r--test/data/json.php16
-rw-r--r--test/data/jsonp.php20
-rw-r--r--test/data/name.php56
-rw-r--r--test/data/params_html.php22
-rw-r--r--test/data/test.js6
5 files changed, 60 insertions, 60 deletions
diff --git a/test/data/json.php b/test/data/json.php
index 08e3f9e32..d19a41792 100644
--- a/test/data/json.php
+++ b/test/data/json.php
@@ -1,9 +1,9 @@
-<?php
-error_reporting(0);
-$json = $_REQUEST['json'];
-if($json) {
- echo '[ {"name": "John", "age": 21}, {"name": "Peter", "age": 25 } ]';
-} else {
- echo '{ "data": {"lang": "en", "length": 25} }';
-}
+<?php
+error_reporting(0);
+$json = $_REQUEST['json'];
+if($json) {
+ echo '[ {"name": "John", "age": 21}, {"name": "Peter", "age": 25 } ]';
+} else {
+ echo '{ "data": {"lang": "en", "length": 25} }';
+}
?> \ No newline at end of file
diff --git a/test/data/jsonp.php b/test/data/jsonp.php
index 75000252b..9ae1d8487 100644
--- a/test/data/jsonp.php
+++ b/test/data/jsonp.php
@@ -1,10 +1,10 @@
-<?php
-error_reporting(0);
-$callback = $_REQUEST['callback'];
-$json = $_REQUEST['json'];
-if($json) {
- echo $callback . '([ {"name": "John", "age": 21}, {"name": "Peter", "age": 25 } ])';
-} else {
- echo $callback . '({ "data": {"lang": "en", "length": 25} })';
-}
-?>
+<?php
+error_reporting(0);
+$callback = $_REQUEST['callback'];
+$json = $_REQUEST['json'];
+if($json) {
+ echo $callback . '([ {"name": "John", "age": 21}, {"name": "Peter", "age": 25 } ])';
+} else {
+ echo $callback . '({ "data": {"lang": "en", "length": 25} })';
+}
+?>
diff --git a/test/data/name.php b/test/data/name.php
index a4b990e3d..ee22e4582 100644
--- a/test/data/name.php
+++ b/test/data/name.php
@@ -1,29 +1,29 @@
-<?php
-error_reporting(0);
-$wait = $_REQUEST['wait'];
-if($wait) {
- sleep($wait);
-}
-$xml = $_REQUEST['xml'];
-if($xml) {
- header("Content-type: text/xml");
- $result = ($xml == "5-2") ? "3" : "?";
- echo "<math><calculation>$xml</calculation><result>$result</result></math>";
- die();
-}
-$name = $_REQUEST['name'];
-if($name == 'foo') {
- echo "bar";
- die();
-} else if($name == 'peter') {
- echo "pan";
- die();
-}
-$request = apache_request_headers();
-$request = $request['X-Custom-Header'];
-if(strlen($request) > 0) {
- echo $request;
- die();
-}
-echo 'ERROR <script type="text/javascript">ok( true, "name.php executed" );</script>';
+<?php
+error_reporting(0);
+$wait = $_REQUEST['wait'];
+if($wait) {
+ sleep($wait);
+}
+$xml = $_REQUEST['xml'];
+if($xml) {
+ header("Content-type: text/xml");
+ $result = ($xml == "5-2") ? "3" : "?";
+ echo "<math><calculation>$xml</calculation><result>$result</result></math>";
+ die();
+}
+$name = $_REQUEST['name'];
+if($name == 'foo') {
+ echo "bar";
+ die();
+} else if($name == 'peter') {
+ echo "pan";
+ die();
+}
+$request = apache_request_headers();
+$request = $request['X-Custom-Header'];
+if(strlen($request) > 0) {
+ echo $request;
+ die();
+}
+echo 'ERROR <script type="text/javascript">ok( true, "name.php executed" );</script>';
?> \ No newline at end of file
diff --git a/test/data/params_html.php b/test/data/params_html.php
index e170e8a93..0bab00f29 100644
--- a/test/data/params_html.php
+++ b/test/data/params_html.php
@@ -1,12 +1,12 @@
-<div id="post">
-<?php
- foreach( $_POST as $key=>$value )
- echo "<b id='$key'>$value</b>";
-?>
-</div>
-<div id="get">
-<?php
- foreach( $_GET as $key=>$value )
- echo "<b id='$key'>$value</b>";
-?>
+<div id="post">
+<?php
+ foreach( $_POST as $key=>$value )
+ echo "<b id='$key'>$value</b>";
+?>
+</div>
+<div id="get">
+<?php
+ foreach( $_GET as $key=>$value )
+ echo "<b id='$key'>$value</b>";
+?>
</div> \ No newline at end of file
diff --git a/test/data/test.js b/test/data/test.js
index a41cb232b..69f492dcc 100644
--- a/test/data/test.js
+++ b/test/data/test.js
@@ -1,3 +1,3 @@
-var foobar = "bar";
-jQuery('#ap').html('bar');
-ok( true, "test.js executed");
+var foobar = "bar";
+jQuery('#ap').html('bar');
+ok( true, "test.js executed");