Hacker News new | ask | show | jobs
by mkmcdonald 5108 days ago
> This framework is written to embrace the DOM rather than fight it.

And yet three separate libraries with DOM abstractions are required.

Why should I trust your opinion of the DOM if you require so much third-party code?

1 comments

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.

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.