Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Going Simple with JavaScript. Parent comment
Yes. But it still has quite a bit of overhead as it also handles non-standard selectors (implemented in javascript), things like :input.
> I guess if all you need is to query the document and you know your target audience is running a modern browser... then sure, save yourself 31k :)
If you've got an ever more restricted target audience, you can also use things like Zepto (webkit-only, jQuery's interface in 7k)
There are no comments on this comment yet.
Yes. But it still has quite a bit of overhead as it also handles non-standard selectors (implemented in javascript), things like :input.
> I guess if all you need is to query the document and you know your target audience is running a modern browser... then sure, save yourself 31k :)
If you've got an ever more restricted target audience, you can also use things like Zepto (webkit-only, jQuery's interface in 7k)