jaubourg
|
a8fa5f2ec1
|
Moved jQuery.ajax.prefilter and jQuery.ajax.transport to jQuery.ajaxPrefilter and jQuery.ajaxTransport so that proxying the ajax method doesn't turn into a nightmare. Thanks go to scott_gonzalez and DaveMethvin for pointing out the issue. Also made ajaxSetup return "this" to enable chainable definitions -- jQuery.ajaxSetup(...).ajaxPrefilter(...).ajaxTransport(...).
|
2011-01-13 18:33:24 +01:00 |
|
jaubourg
|
0c51e9d55f
|
Fixes #4897. Added ?? as a context-insensitive placeholder for the callback name of a JSONP request. Unit tests provided.
|
2011-01-12 18:36:00 +01:00 |
|
jaubourg
|
8c8bd3bf6a
|
Fixes #5812. =? will be detected even when it has been escaped during data serialization.
|
2011-01-09 21:48:52 +01:00 |
|
jaubourg
|
62a1a1a8fa
|
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.
|
2011-01-09 21:19:27 +01:00 |
|
jaubourg
|
c43b078c69
|
Renamed src/transports to src/ajax (in case we need prefilters in the future and to avoid a separate prefilters directory).
|
2011-01-06 01:17:31 +01:00 |
|