Hacker News new | ask | show | jobs
by joestelmach 5107 days ago
That's a great point.

It's been on my todo list for a while now to remove the JQuery dependency from Backbone UI, since we're now only using it mainly for event handling and positioning.

JQuery was an obvious choice when this project was born over a year ago. I've since formalized my preferred method of DOM generation into the Laconic library, but have yet to do the same for the last bits of JQuery still being used.

3 comments

Of course, the problem with jQuery is that you're required to use an all-or-none approach. Feel free to send me an e-mail (check my profile) if you have DOM questions.
You should just use addEventListener. It's supported by every browser for a while now and is really easy to shim for those targeting IE6-8.
Why not Zepto? It's like jQuery without the weight.