Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Going Simple with JavaScript. Parent comment
No it isn't as you send all of the supporting junk code to the newer browsers that don't need it.
> Not to mention productivity gains from method chaining and batch assignment such as $('.somehting').find('*').css({'font-weight': 'bold'});
Chaining has nothing to do with queries.
> Do you really want to type the 10-20 lines of JS that are required to make that happen? I don't.
Then learn to write (cross-browser) functions that fit your needs. Leave the ham-fisted queries alone.
There are no comments on this comment yet.
No it isn't as you send all of the supporting junk code to the newer browsers that don't need it.
> Not to mention productivity gains from method chaining and batch assignment such as $('.somehting').find('*').css({'font-weight': 'bold'});
Chaining has nothing to do with queries.
> Do you really want to type the 10-20 lines of JS that are required to make that happen? I don't.
Then learn to write (cross-browser) functions that fit your needs. Leave the ham-fisted queries alone.