Skip to content

Setting data inside an array fires an add event on the parent array #60

Open
@uplift

Description

@uplift

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

but cant see an obvious fix. Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions