Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
6 lines (4 sloc) 142 Bytes
def jsonp(request, json_string):
if request.get("callback"):
return "%s(%s)" % (request.get("callback"), json_string)
return json_string