Re:Backbone UI
by mkmcdonald on Tuesday June 19, 2012 @06:37PM
(#4134550)
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.
Re:Backbone UI
by MatthewPhillips on Wednesday June 20, 2012 @11:42AM
(#4137484)
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.
Re:Backbone UI
by dclowd9901 on Wednesday June 20, 2012 @11:38AM
(#4137463)
Why not Zepto? It's like jQuery without the weight.
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.