]> source.dussan.org Git - jquery.git/commit
Fixes #5803. Reworked jsonp prefilter so that it sets the dataType as jsonp and recog...
authorjaubourg <j@ubourg.net>
Sun, 9 Jan 2011 20:19:27 +0000 (21:19 +0100)
committerjaubourg <j@ubourg.net>
Sun, 9 Jan 2011 20:19:27 +0000 (21:19 +0100)
commit62a1a1a8fa64f92f429a3f5b8ed2e0d1f6fc3d6c
tree59e4012b4af0b8f6606282d68671ae48233eb762
parent0f28835ee91a8aec5f9de60be42b55b802c67928
Fixes #5803. Reworked jsonp prefilter so that it sets the dataType as jsonp and recognizes requests with originalSettings having jsonp or jsonpCallback to be jsonp. Moved default jsonp option value into ajaxSettings. Attached the transport to "jsonp" which avoids unnecessary testing. Transport factory sets dataType back to json for proper data conversion.
src/ajax/jsonp.js