github madrobby/zepto v1.2.0
Zepto.js 1.2.0

8 years ago

On top of all the bug fixes found in v1.1.7, this release also brings new features and some slightly backwards-incompatible changes made to ensure better parity with jQuery.

Large changes:

  • Eliminate __proto__ use from codebase.
  • Enable AMD-compatible module output. Zepto and $ are still exported to global namespace, even in the case of module loader, to keep compatibility with plugins.

New functionality:

  • Add $.noop
  • Add fn.removeProp()
  • Add $.isNumeric()
  • Add dataFilter ajax option
  • Provide $.data() & $.hasData() in optional "data" module
  • Add Firefox OS detection

jQuery compatibility:

  • Stop falling back to reading properties in fn.attr()
  • fn.attr() now returns undefined for non-existing properties instead of null
  • Add document fragment/shadow DOM support

Don't miss a new zepto release

NewReleases is sending notifications on new releases.