News for hackers. Stuff that matters.
Re:JQ.Mobi Is A Mobile-Optimized HTML5 Rewrite Of the JQuery... by dmethvin on Monday January 16, 2012 @12:37PM (#3471573)
I wouldn't call this a rewrite of jQuery, it's more of a from-scratch implementation of a very small subset of jQuery APIs.

The semantics of the subset vary significantly from jQuery as well. Take for example the show/hide implementation. `.show()` blindly sets the display to block. jQuery remembers the value it had when you hid it (block, inline-block, table-cell, etc.) and restores that setting.

Re:JQ.Mobi Is A Mobile-Optimized HTML5 Rewrite Of the JQuery... by woogley on Monday January 16, 2012 @02:25PM (#3472048)
Interesting, John Resig shared that exact same critique when Zepto first came out over year ago: http://news.ycombinator.com/item?id=1843787

Funny how both rewrites are missing this level of detail, or it could just be further evidence of how much JQ.Mobi "derives" from Zepto

Re:JQ.Mobi Is A Mobile-Optimized HTML5 Rewrite Of the JQuery... by rwaldron on Monday January 16, 2012 @03:14PM (#3472232)
This is sort of thing that happens when developers start thinking that jQuery is "bloated" and that they can do better and start ripping out code without fully understanding the expected behaviour. Nothing in jQuery is there without good reason.