News for hackers. Stuff that matters.
Re:From jQuery to JavaScript and back again by gmac on Saturday February 09, 2013 @08:16AM (#5192457)
You certainly can go smaller if your needs aren't hugely complex. I have a 'make' function for creating and appending to the DOM, 'get' for retrieving, and 'cls' for className-wrangling. See for example here (in CoffeeScript, which makes Object arguments seem terribly natural):

https://github.com/jawj/github-widget/blob/master/github-wid...

There are no comments on this comment yet.