I have read Jon's post about a solution to the destructive calls. Being late to the game, I am confused as to the meaning of all this. I sort of understand that some calls are queries and others change things, but what is the impact of this that requires a solution? Is there a thread someone can point me to explaining this or can someone recap the issues? thanks, ke han
On Oct 26, 2006, at 10:46 PM, Jörn Zaefferer wrote: > Hi folks, > > I'd really like to see John's modifications to pushStack included > in the jQuery core. Details here: http://www.nabble.com/Non- > Destructive-jQuery-tf2482924.html > > I'm actually wondering if that modification would break any > existing code, as end() works like before. I guess the only > situation is in scenarios like this: > > var jq = $(); > var jq2 = jq.destructiveOperation(); > var jq3 = jq.anotherDestructiveOperation(); > > With the non-destructive pushStack implementation, this would give > a different result. Is someone actually using such code? > > I think this modification is very important to improve the overall > jQuery... > > -- > Jörn Zaefferer > > http://bassistance.de > -- > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/