backbone-nested
backbone-nested copied to clipboard
A plugin to make Backbone.js keep track of nested attributes - looking for maintainers! https://github.com/afeld/backbone-nested/issues/157
Hi there, After updating a sub-set of nested properties, calling model.changedAttributes will return the entire object instead of only the changed ones. ``` var book = new Backbone.NestedModel.model({ title: 'abook',...
Possible syntax: ``` javascript var User = Backbone.NestedModel.extend({ defaults: { 'addresses': [], 'addresses[].state': 'PA' } }); var user = new User(); user.add('addresses', { city: 'Pittsburgh' }); console.log(user.getJSON()); ``` should output...
probably not straightforward to do in the browser, but we can make it happen in the Node tests at least.
The change event handler is passed the model and an options object that contains the attributes that have changed. Because you're calling the super's set(), its just specifying the top...
ModelBinder doesn't seem to work together with nested model( backbone-nested project) ..the changes from model don't get propogated to the nested elements.On changing the input value the span value doesn't...
nice-to-have. only if that library is included. http://goessner.net/articles/JsonPath/
It seems that set is very slow operation in IE8 this leads to poor performance for example if you need to iterate over collection of models and set bunch of...
If i create a NestedModel within my models.js, anytime I attempt to update the model through code, I receive the above error. My model is instantiated like so: ``` javascript...
This is an extension of the issue I already opened, [#70](https://github.com/afeld/backbone-nested/issues/70). If I copy the Backbone.NestedModel.extend({...}) in the linked issue, and paste it after `var other = (pasted code)`, a...