Re-organizes ajax.js: prefilters and transports are no longer stored in ajaxSettings...
authorjaubourg <j@ubourg.net>
Sat, 22 Jan 2011 03:45:20 +0000 (04:45 +0100)
committerjaubourg <j@ubourg.net>
Sat, 22 Jan 2011 03:45:20 +0000 (04:45 +0100)
commitbea4815294f6bdf94cbe50a5a978e2c6bfa2c396
treec2e452f7012a27cc100d35ba0b647f484b6e4fcb
parent4413c2fd93dc3809cb000492c86d8ffba39cf59a
Re-organizes ajax.js: prefilters and transports are no longer stored in ajaxSettings (their structure is not handled correctly by extend() and was causing some overhead when constructing the final options map in ajax()); base function for ajaxPrefilter and ajaxTransport has been renamed and split in two (one for inspection, one for addition); response/dataType determination and data conversion logics have been externalized from the ajax() internal callback; data conversion no longer sets responseXXX fields; some minor re-formatting and simplifications.
src/ajax.js