Thomas Fuchs
Hi, I'm Thomas Fuchs. I'm the author of Zepto.js, of script.aculo.us, and I'm a Ruby on Rails core alumnus. With Amy Hoy I'm building cheerful software, like Freckle Time Tracking and Every Time Zone and write books like Retinafy.me.
   Want me to speak at your conference? Contact me!

Zepto.js v0.2 — backbone.js compatibility, .unbind, .text, better Ajax

December 1st, 2010

Zepto.js is alive and kicking, and we just pushed version 0.2! Thanks to a contribution from Sam Stephenson of Prototype.js fame, Zepto.js now sports compatibility with Backbone.js, which opens up a bag of awesome possibilities for mobile apps:

Backbone supplies structure to JavaScript-heavy applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing application over a RESTful JSON interface

Compatibility was achieved by adding some missing functionality to Zepto, namely a more robust events system, and support for $.fn.text.

Also added in this release is proper support for Ajax calls, with optional JSON encoding. Thanks to Jakub Nešetřil for this contribution!

The best thing is, Zepto.js is still only 2.5k in size when properly minified and gzipped!

Grab the new release from zeptojs.com and stay updated on GitHub and Twitter.