Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 931 Bytes

CHANGELOG.md

File metadata and controls

26 lines (18 loc) · 931 Bytes

Initial Release (Oct. 22. 2012)

0.2.0

  • You can now pass a space-separated list of events inside a hash paired with a single event handler. This matches Backbone's #on method, and allows you to bind multiple thigns to #render for example.

  • The internal mechanism for adding and removing event listeners was changed in implementing the above. Users of older versions of Backbone will no longer have their objects monkey-patched.

  • When intuiting event handler names, dry-observer will now guess the standalone event name after the prefixed name, allowing you to use plain event names and handlers:

    this.observe(model, 'search') will now attempt #onSearch followed by #search

  • Backbone 0.9.0+ compatible objects will now receive the "context" parameter during binding.

0.2.1

  • Prevent infinite loop when #stopObserving is called without a target @_observedObjects is emptyish.