- Author:
- David Nickerson <david.nickerson@gmail.com>
- Date:
- 2021-09-15 13:52:09+12:00
- Desc:
- Updates to Rogers and McCulloch model:
* Make sure model is valid OpenCOR CellML Text format;
* Make sure model is valid CellML;
* Add SED-ML for single stimulus experiment.
Using OpenCOR snapshot 2021-09-14
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/a1/rawfile/96fe25cd6827b8bd3efaf2278117586cde5a3979/dojo-presentation/js/dojo/dojox/rpc/tests/resources/jsonpEcho.php
<?php
// ensure that we don't try to send "html" down to the client
header("Content-Type: application/json");
$jsonp = false;
$result = "";
if ($_REQUEST["testCallbackParam"]){
$jsonp=true;
$result .= $_REQUEST['testCallbackParam'] . "('";
}
if (!$_REQUEST["message"]){
$result .= "ERROR: message property not found";
}
$result .= $_REQUEST["message"];
if ($jsonp) {
$result .= "');";
}
print $result;
?>