Re:HTML.js – Befriend the DOM
by catmanjan on Tuesday August 13, 2013 @08:52AM
(#6205358)
HTML.find("#element") is longer than $("#element") so I doubt it'll catch on
[ Parent
| on HN ]
var $ = HTML.find.bind(HTML);
Enjoy.
Re:HTML.js – Befriend the DOM
by ianstormtaylor on Tuesday August 13, 2013 @04:21PM
(#6208034)
Better yet:
var $ = require('HTML');Wow, what an in-depth comparison with JQuery.
Well I can't really do a speed test because the js file he links to 404's lel