Skip to content
Permalink
Browse files

Use undefined instead of 0 to deference transport for clarity.

  • Loading branch information
jaubourg committed Jan 19, 2011
1 parent d343bfe commit 7947cd77e4dcd73eb0816a1da5ef3902666ba47a
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit 7947cd7

Please sign in to comment.
You can’t perform that action at this time.