jaubourg
|
2ed81b44be
|
Fixes #8744. Makes sure script transport abort method actually removes the script tag even if readyState exists.
|
2011-04-04 17:41:30 +02:00 |
|
Mathias Bynens
|
462bb1f66a
|
Fixes #8098. Use the fast document.head when available. Don't set unneeded "script.type = text/javascript".
|
2011-02-02 00:59:00 +01:00 |
|
jaubourg
|
e0b1bb8e3d
|
Script dataType now supports ecmascript mimetypes.
|
2011-01-31 19:14:06 +01:00 |
|
jaubourg
|
85a195c6d5
|
Fixes #8082. Text to script converter now returns text. Unit test added.
|
2011-01-29 01:39:22 +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
|
f74b844989
|
The script prefilter now forces cross-domain requests type to GET.
|
2011-01-16 05:25:45 +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
|
667a3b31e6
|
Reworked script and xhr abort logic to take advantage of the fact jXHR.abort will complete the request itself if not done already.
|
2011-01-13 02:05:39 +01:00 |
|
jaubourg
|
e221d39e98
|
Script transport now uses ajaxSetup to define script dataType.
|
2011-01-12 18:54:15 +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 |
|