Re:Sausage.js a jQuery UI widget for contextual pagination.
by MatthewPhillips on Wednesday March 30, 2011 @12:35PM
(#2387960)
Any idea why they format their javascript like that?
[ Parent
| on HN ]
Re:Sausage.js a jQuery UI widget for contextual pagination.
by ctcliff on Wednesday March 30, 2011 @08:10PM
(#2389821)
It's just a convention for writing jQuery chains. The code is easier to debug because each method is kept on a separate line.
Of course this is trivial if there's only one method in the chain...