mikeric/rivets — pull request #266 by zipcodeman (2014-01-28 21:23:50+00:00)
Title: Fix issue where observer.unobserve didn't unbind the event listner

The issue was as follows:

if the model is:

{ a: { b: { c: 'foo' } }}

and we bind the observer on 'a.b.c'

var obs = new Rivets.Observer(view, model, "a.b.c", function() {
// This should not be called after an unobserve
});

and then call `obs.unobserve()`

Then when we change the model (`model.a.b.c = "bar";`), the event handler is
still called

Added a test to check for this