aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjaubourg <j@ubourg.net>2011-01-19 17:24:56 +0100
committerjaubourg <j@ubourg.net>2011-01-19 17:24:56 +0100
commit7947cd77e4dcd73eb0816a1da5ef3902666ba47a (patch)
treebf9afa029791bc18972f8d5a4447619373d1b80a
parentd343bfe528cbb8b08c3beb94cb33d1c444932f06 (diff)
downloadjquery-7947cd77e4dcd73eb0816a1da5ef3902666ba47a.tar.gz
jquery-7947cd77e4dcd73eb0816a1da5ef3902666ba47a.zip
Use undefined instead of 0 to deference transport for clarity.
-rw-r--r--src/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax.js b/src/ajax.js
index 3d1f9a377..7229899ba 100644
--- a/src/ajax.js
+++ b/src/ajax.js
@@ -345,7 +345,7 @@ jQuery.extend({
// Dereference transport for early garbage collection
// (no matter how long the jXHR transport will be used
- transport = 0;
+ transport = undefined;
// Set readyState
jXHR.readyState = status ? 4 : 0;