Skip to content

Commit

Permalink
Merge pull request #93 from justintv/master
Browse files Browse the repository at this point in the history
  • Loading branch information
manveru committed Sep 21, 2014
2 parents 5c12ace + 2dd3b22 commit 1b11346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rack/contrib/jsonp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def pad(callback, response, body = "")
# https://github.com/rack/rack-contrib/issues/46
response.close if response.respond_to?(:close)

["#{callback}(#{body})"]
["/**/#{callback}(#{body})"]
end

def bad_request(body = "Bad Request")
Expand Down

0 comments on commit 1b11346

Please sign in to comment.