Re:JQuery Mobile 1.0
by armandososa on Thursday November 17, 2011 @02:11PM
(#3248809)
you are thinking in http://zeptojs.com/
Re:JQuery Mobile 1.0
by lazerwalker on Thursday November 17, 2011 @02:19PM
(#3248841)
The last time I looked into Zepto (which, in full disclosure, was about a year ago), there was a gigantic HN thread with many people (including John Resig) complaining that it being "JQuery-compatible" was more about syntactic sugar (functions whose signatures look like those in JQuery, but don't behave the same) and marketing buzzwords (comparing it to JQuery obviously attracts attention) than actual feature parity. Has it improved at all?
Re:JQuery Mobile 1.0
by fooandbarify on Thursday November 17, 2011 @03:15PM
(#3249034)
I've been using zepto in a project for a couple of months and so far it's been pretty solid. It's true that it does not achieve feature parity with jQuery, but it doesn't pretend to (and I don't think it ever did). It does successfully mimic much of jQuery's core functionality on Webkit browsers at a fraction of the file-size.
Re:JQuery Mobile 1.0
by wiradikusuma on Thursday November 17, 2011 @11:25PM
(#3250596)
Have you tried XUI (http://xuijs.com)?
It's close enough that it can be swapped for jQuery in Backbone.js, and many jQuery plugins work.
(Disclaimer: haven't use it myself)
Re:JQuery Mobile 1.0
by sleepyhead on Friday November 18, 2011 @06:23AM
(#3251386)
I have used it and for basic usage this is correct. Only needed minor changes after moving from jQuery in a mobile project I did.
zepto looks wonderful. have you used it yet?
Re:JQuery Mobile 1.0
by bricestacey on Thursday November 17, 2011 @02:14PM
(#3248826)
Try zepto.js [1]. Its primary targets are iOS 4+, Android 2.2+, and webOS 1.4.5+.
All I want is a library that gives me JQuery-like functionality with optimized mobile performance, decent compatibility with the Android browser's nasty quirks, a reduced footprint (easily doable without needing to support IE and legacy browsers), and a few wrapper functions around mobile-specific functionality like touch events. Is that too much to ask?