powmedia/backbone-deep-model — Issue #5: model.changedAttributes() returns false for nested attributes that changed
Author: bgstaal
Created: 2012-03-05 15:36:45+00:00
State: open

the changedAttributes method is not overridden to support changes in nested values.

Ex:

var model = new Backbone.DeepModel(
{
nestedObject:
{
foo: "foo"
}
});

model.set(
{
nestedObject:
{
foo: "bar"
}
});

model.changedAttributes(); // returns false