- Author:
- David Nickerson <david.nickerson@gmail.com>
- Date:
- 2021-09-15 12:24:03+12:00
- Desc:
- Updates to FHN 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/a26c8f6bf655d7de97fbc8d4197ca492804c735a/dojo-presentation/js/dojo/dojox/rpc/tests/resources/jsonpEcho.phps
<?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;
?>