mikeric/rivets — pull request #61 by mikeric (2012-09-03 00:38:47+00:00)
Title: Utilize adapter.read when subscribing

Implements a `sync` function on `Rivets.Binding` that uses `adapter.read` instead of relying on the callback arguments. This simplifies the code and the subscribe/unsubscribe adapter implementations.

For certain frameworks (Backbone.js), it also fixes a bug where any attributes changes *inside* a callback for that attribute don't get propagated to the binding, instead it get's called with the previous attribute and the view will be stuck at that previous value instead of the new value.