3 ms·
Any idea why they format their javascript like that? $(window) .sausage() ;
by MatthewPhillips 16y ago
Any idea why they format their javascript like that?
$(window)
.sausage()
;
- deleted 16y ago[deleted]
- ctcliff 16y agoIt'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...