On Dec 30, 10:58 pm, John Resig <jere...@gmail.com> wrote:
> Interesting, I've, also, seen the = null; proposal before, but not the
> = function(){}; one. Doing some poking around I found mention of it
> here:http://www.ilinsky.com/articles/XMLHttpRequest/#bugs-ie-leak

I haven't inspected the jQuery ajax code much, but what you changed is
not what this link recommends.
They say:
  self.object.onreadystatechange = new Function;
whereas you have done:
  xhr.onreadystatechange = function(){};

Those are two very different things!

You've created an anonymous function with a scope chain that includes
the xhr object, etc. You need to do something like
  jQuery.noop = function(){};
and set
  xhr.onreadystatechange = jQuery.noop;

Matt Kruse

--

You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en.


Reply via email to