jacklone / browserscope

Automatically exported from code.google.com/p/browserscope
Apache License 2.0
0 stars 0 forks source link

Add JSONP output type for the results table #247

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This should work like the o=json output but add a callback.

Original issue reported on code.google.com by els...@gmail.com on 17 Aug 2010 at 1:38

GoogleCodeExporter commented 8 years ago
Mathias, how would you feel about this working this way instead-
o=json&callback=YOUR-FUNCTION-NAME ?

Original comment by els...@gmail.com on 17 Aug 2010 at 1:49

GoogleCodeExporter commented 8 years ago
That would be equally awesome. I don't think it matters much which how the URL 
is constructed; it will get documented in the API anyway.

Original comment by mathias%...@gtempaccount.com on 17 Aug 2010 at 7:55

GoogleCodeExporter commented 8 years ago
Fixed in r685

Original comment by els...@gmail.com on 22 Aug 2010 at 9:18

GoogleCodeExporter commented 8 years ago
I think there’s a small typo in stats_json.html. There’s a trailing `(` 
when the callback parameter is added.

The last line:

}{% if callback %});({% endif %}

Should be:

}{% if callback %});{% endif %}

Original comment by mathias%...@gtempaccount.com on 22 Aug 2010 at 9:23

GoogleCodeExporter commented 8 years ago
updated, thanks

Original comment by els...@gmail.com on 22 Aug 2010 at 11:16