| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
instances by prefixing the jsonp callback name with the jQuery expando rather than with "jsonp".
|
|
|
|
| |
searches for %3F in url or data to find jsonp callback placeholders.
|
| |
|
| |
|
|
|
|
| |
Removes chainability of ajaxSetup, ajaxPrefilter and ajaxTransport. Also makes sure context is handled properly by ajaxSetup (unit test added).
|
|
|
|
| |
regarding the callback.
|
|
|
|
| |
doesn't make ajax return false. Had to revise how jsonp and script prefilters & transports work (better separation of concerns). Also took the opportunity to revise jXHR getRequestHeader and abort methods and enabled early transport garbage collection when the request completes.
|
|
|
|
| |
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(...).
|
|
|
|
| |
name of a JSONP request. Unit tests provided.
|
|
|
|
| |
serialization.
|
|
|
|
| |
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.
|
|
and to avoid a separate prefilters directory).
|