[jQuery] Re: Formatting long chains of jQuery code

2010-01-03 Thread Paul Hutson
On Jan 3, 2:03 am, Šime Vidas wrote: > Is there a prefered way of formatting jQuery code when you have 5 or > more chained methods? FWIW you do it the way I would.

[jQuery] Re: Formatting long chains of jQuery code

2010-01-02 Thread MorningZ
I would guess "preferred" = "however someone wants to do it as long as it works" what you have is perfectly fine.. and bonus points for it working :-) On Jan 2, 9:03 pm, Šime Vidas wrote: > Is there a prefered way of formatting jQuery code when you have 5 or > more chained methods? > > I came