Skip to content
This repository was archived by the owner on Jul 7, 2026. It is now read-only.
This repository was archived by the owner on Jul 7, 2026. It is now read-only.

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

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions