backbone-nested icon indicating copy to clipboard operation
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

Results 45 backbone-nested issues
Sort by recently updated
recently updated
newest added

when trying to set value for deep nested attribute of a nested model with same old value, change events still fire on parents level, no change event fire on deep...

I'm using a rather complicated object structure in my backbone model, nesting objects and arrays into a single attribute called `structure`. When using the NestedModel's `remove` function, it triggers a...

The `attributes` property was called with the assumption that a `hasOwnProperty` method existed. This is not the case if using `null` as the top-level parent for the `attributes` property, as...

Lets say we have the following user: ``` bob = new MyModel({ name: { first: 'bob', middle: 'bill', last: 'smith' } }) ``` if you do `bob.set({name.first: "Bob"})` you'd get...

Bug
Parity

Backbone fetch() uses JSON to set the attributes once they are received, which is causing nested attributes to be overwritten rather than being updated. I am not sure if this...

If `idAttribute` is defined on a `NestedModel` and this `idAttribute` has a nested path, current implementation is not resolving value correctly. Don't know if my implementation covers every cases (`set`...

``` javascript var model = new Backbone.NestedModel({ a: { b: [ { c: 1 }, { d: 2 } ] } }); model.bind('change:a.b[0].c', function() { console.log('c changed.'); }); // The...

Bug
help wanted

Imagine you have a default like `myArray : []`. Then, you initialize a model passing an initial value of `myArray: [1,1,2,3]`. The result of `model.get('myArray')` is not `[1,1,2,3]` but it...