6 ms·
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 even
by joestelmach 14y 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.
- mkmcdonald 14y agoOf 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.
- dclowd9901 14y agoWhy not Zepto? It's like jQuery without the weight.
- MatthewPhillips 14y agoYou 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.