]> source.dussan.org Git - jquery.git/commitdiff
Use undefined instead of 0 to deference transport for clarity.
authorjaubourg <j@ubourg.net>
Wed, 19 Jan 2011 16:24:56 +0000 (17:24 +0100)
committerjaubourg <j@ubourg.net>
Wed, 19 Jan 2011 16:24:56 +0000 (17:24 +0100)
src/ajax.js

index 3d1f9a377dfcc44dc1cb0b6bcf07c4a1e0250c2e..7229899ba03b15a0047da868940b8db1bb4429ec 100644 (file)
@@ -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;