jaubourg
|
58faec7cb7
|
Removes unnecessary parenthesis from regular expression.
|
2011-02-24 06:37:37 +01:00 |
|
jaubourg
|
cb49b4a1b6
|
Fixes #8115. Renames all references to jXHR with jqXHR in the code (like was done in the doc).
|
2011-02-01 16:00:53 +01:00 |
|
jaubourg
|
f286a716d5
|
Makes sure jsonp callback is not left in the global namespace in case of an early abort (beforeSend). Unit test added.
|
2011-01-31 18:53:44 +01:00 |
|
jaubourg
|
b9f2131a9d
|
Fixes potential collisions between jsonp requests from different jQuery instances by prefixing the jsonp callback name with the jQuery expando rather than with "jsonp".
|
2011-01-29 01:25:27 +01:00 |
|
jaubourg
|
325dcdc2ab
|
Fixes #8054 by reverting feature enhancement 5812 (4920). Regexps no longer searches for %3F in url or data to find jsonp callback placeholders.
|
2011-01-26 00:55:39 +01:00 |
|
jaubourg
|
ee22c8b34b
|
More code style fixes.
|
2011-01-23 20:46:09 +01:00 |
|
jaubourg
|
dd5bf42122
|
Apply JQuery Core Style Guidelines to ajax.js and ajax/*.js,
|
2011-01-23 05:51:41 +01:00 |
|
jaubourg
|
64e1cdbb95
|
Cleans up and simplifies code shared by ajaxPrefilter and ajaxTransport. Removes chainability of ajaxSetup, ajaxPrefilter and ajaxTransport. Also makes sure context is handled properly by ajaxSetup (unit test added).
|
2011-01-20 04:12:15 +01:00 |
|
jaubourg
|
158fa822de
|
Setting the jsonp option to false now inhibits any url manipulation regarding the callback.
|
2011-01-16 05:26:46 +01:00 |
|
jaubourg
|
8ab23aec2c
|
Fixes #2994. Not finding a transport now fires the error callbacks and 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.
|
2011-01-16 02:57:39 +01:00 |
|
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 |
|