aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjaubourg <aubourg.julian@gmail.com>2010-12-21 13:06:41 +0100
committerjaubourg <j@ubourg.net>2010-12-31 04:05:46 +0100
commite29ebbc199ecf1d2c9f5b7de9113f34e818ffe11 (patch)
tree1f2904fad968e5e5db66246b7778edda8d0b95fa
parent2fec5dbecd3dc6d2acfcb4df28d29638637ac579 (diff)
downloadjquery-e29ebbc199ecf1d2c9f5b7de9113f34e818ffe11.tar.gz
jquery-e29ebbc199ecf1d2c9f5b7de9113f34e818ffe11.zip
Renamed jQuery.xhr.bindTransport as jQuery.xhr.transport. Generalized the implementation and made prefilters use the same logic. Cleaned up code and removed as many loops and each as possible.
-rw-r--r--src/ajax.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ajax.js b/src/ajax.js
index 6f09362e5..d631def50 100644
--- a/src/ajax.js
+++ b/src/ajax.js
@@ -190,13 +190,13 @@ jQuery.extend({
// 4) the catchall symbol "*" can be used
// 5) execution will start with transport dataType and THEN continue down to "*" if needed
prefilters: {},
-
+
// Transports bindings
// 1) key is the dataType
// 2) the catchall symbol "*" can be used
// 3) selection will start with transport dataType and THEN go to "*" if needed
transports: {},
-
+
// Checkers
// 1) key is dataType
// 2) they are called to control successful response