> OK, here's my guess. Since the .clone() does a pushStack and selects
> the clones, there's a reference to $el hiding in the $clone.prevObject
> property so it won't be garbage-collected even if $el is nulled later.
And for that very reason I once wrote this tiny plugin
jQuery.fn.fin = function() { return jQuery(this); };
that I sneak into my command chains whenever I fear the stack is
getting too long, and I indend to keep a reference to that jQuery
collection for a while.
--
Már
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---