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
I'm attempting to set a property of a nested array dynamically but am unable to do so. Model : {"Alias":"sample","Id":0, Traits: [ {"AttrValue":null}, {"AttrValue":null} ] } This of course works...
Make possible to pass custom options per a specific field. Usage example: `document.fetch({byField: { 'custom_obj_field': { silent: true } } })` Might be useful for huge object fields, on which...
When setting a root level attribute, set() will pass the options it was called with to trigger(). When setting a nested attribute this does not happen.
It's not there yet, but certainly close. Will message you when I have more.
demonstrates issue where setting a value inside a nested array erroneously triggers an add event, when no item has been added
This basically tests what is described in issue #58
Hi, if there is a model with fields model = name: 'test' kart: r1: [4,4,o] r2:[8,8] if I call model.unset('kart') ..it does update the model. but the model changes does...
I had a bug in my code where, by accident, a reference to the `window` object was added as an attribute to a NestedModel. That caused an infinite recursion in...
I put together this jsfiddle to show what I mean. http://jsfiddle.net/uz6VF/1/ I'd expect to only see one 'added' displayed but seeing three. I've narrowed it down to this line https://github.com/afeld/backbone-nested/blob/master/backbone-nested.js#L262...
Since Backbone 1.1.1, Backbone is AMD compatible. This, unfortunately, led to a not working backbone nested model, in case js has been concatinated and minified for production. Chrome yields: 'Uncaught...