Reorganzing the jQuery source (first phase).
This commit is contained in:
parent
13b66c8ba9
commit
b4e23b5af0
29 changed files with 16 additions and 16 deletions
10
test/data/jsonp.php
Normal file
10
test/data/jsonp.php
Normal file
|
@ -0,0 +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} })';
|
||||
}
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue