5 ms·
Reading through this makes me appreciate the automatic steps that jQuery uses when getting a site's JSONP. Things like automatic method name creation.
by bluedevil2k 16y ago
Reading through this makes me appreciate the automatic steps that jQuery uses when getting a site's JSONP. Things like automatic method name creation.
- PanMan 16y agoYes, but it's annoying you can't set the callback name to something static (for when the JSONP provider doesn't support variable callbacks). You can, but need a Jquery JSONP plugin for that.
- deleted 16y ago[deleted]
- deleted 16y ago[deleted]
- catshirt 16y agoI agree jQuery helps immensely because it is annoying, but it's not exactly a chore. I've never actually implemented JSONP outside of jQuery, but I'd imagine we're talking about maybe 3 lines (a few more to check for dupe functions).