Add semi-colon onto padding to be safe.

This commit is contained in:
Jesse O'Brien 2012-12-06 12:04:06 -05:00
parent 404b59730a
commit 4f5cc0cd97
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ public static function jsonp($callback, $data, $status = 200, $headers = array()
{
$headers['Content-Type'] = 'application/javascript; charset=utf-8';
return new static($callback.'('.json_encode($data).')', $status, $headers);
return new static($callback.'('.json_encode($data).');', $status, $headers);
}
/**