top | item 4395459

(no title)

dotborg2 | 13 years ago

what if I don't use jQuery in my project?

discuss

order

threepointone|13 years ago

Just for you, I went through their source, and these are all the jquery specific calls -

.height() .width() .offset() .remove() .append() .prepend() .prependTo() .find() .parent() .on() .off() .scrollTop() .outerHeight() .length

It seems to me like all of these would be covered by zepto. Or qwery. Or you could make your own adapter with Prototype. Or Mootools. Or Ext. Or YUI. Heck, you could probably whip up your own little library based on sizzle, or even just querySelectorAll. Then just fork infinity to use your lib, and you're good to go.

I hope you're not confused any more!

[I'm not affiliated with airbnb, just thought I'd help you out]

dotborg2|13 years ago

ok, sounds like a lot of boilerplate code to write, because "Its only dependency is on jQuery."