4 ms·
Especially when parts are straight copies out of Zepto. Zepto Closest Implementation: https://github.com/madrobby/zepto/blob/master/src/zepto.js#L232 https://g
by jbox 15y ago
Especially when parts are straight copies out of Zepto.
Zepto Closest Implementation: https://github.com/madrobby/zepto/blob/master/src/zepto.js#L232 https://github.com/madrobby/zepto/blob/master/src/zepto.js#L...
JQ.Mobi: https://github.com/appMobi/jQ.Mobi/blob/master/jq.mobi.js#L388 https://github.com/appMobi/jQ.Mobi/blob/master/jq.mobi.js#L3...
Zepto End Implementation: https://github.com/madrobby/zepto/blob/master/src/zepto.js#L402 https://github.com/madrobby/zepto/blob/master/src/zepto.js#L...
JQ.Mobi: https://github.com/appMobi/jQ.Mobi/blob/master/jq.mobi.js#L418 https://github.com/appMobi/jQ.Mobi/blob/master/jq.mobi.js#L4...
That said, it's all open source and there are only so many ways to write these functions succinctly.
- rwaldron 15y agoThey didn't even bother to change the indentation whitespace...