3 ms·
If this interests you, check out http://zeptojs.com/ http://zeptojs.com/. Seems like the same concept.
by ryanackley 13y ago
If this interests you, check out http://zeptojs.com/ http://zeptojs.com/. Seems like the same concept.
- binarymax 13y agoZepto really aims to match the jQuery style and the majority of methods while trimming the fat and sacrificing browser compat, and weighs in at 9.2k min gzipped. I'd say the only thing this has in common with jQuery is the use of the $. Most of the methods here can be found in many homegrown toolboxes. There is no chaining and no relationship to any of the methods here.
- ryanackley 13y agoI guess the semantics really matter to some people but a few direct quotes from the Readme JZed is my alternative to JQuery This is a tiny amount of code that has enough of the functionality found in JQuery then I filled it out with more based on the list at http://youmightnotneedjquery.com/ http://youmightnotneedjquery.com/. The semantics are different but the functionality is completely based on jquery.
- dsego 13y agoZepto is nice, but if you want something like jquery, just use jquery. Jquery is already small enough and battle-tested. I tried using zepto a year ago, and some DOM methods were 10-100x slower, which isn't worth the reduction in size.