From 4f5cc0cd97676e5064b176cee7b0432df31ba975 Mon Sep 17 00:00:00 2001 From: Jesse O'Brien Date: Thu, 6 Dec 2012 12:04:06 -0500 Subject: [PATCH] Add semi-colon onto padding to be safe. --- laravel/response.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/response.php b/laravel/response.php index 5e69308f..7979ef46 100644 --- a/laravel/response.php +++ b/laravel/response.php @@ -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); } /**