Skip to content

Adds native Backbone event handling#9

Open
snurra wants to merge 4 commits intomasterfrom
fix-event-delegation
Open

Adds native Backbone event handling#9
snurra wants to merge 4 commits intomasterfrom
fix-event-delegation

Conversation

@snurra
Copy link
Copy Markdown

@snurra snurra commented Jun 27, 2015

Here's what expected:

  1. Every event is triggered on its model/collection as normal.
  2. Every event on a relation is also triggered on its parent as :.
  3. Change events are triggered when all setting is completed.
  4. There should only be (at most) one single change event on a relational model.

This is meant to mimic how events on a standard Backbone model are triggered.

Fixes #8
Fixes #7 (as an
automatic side-effect, doing it otherwise would be complicated)

Gustaf Forsslund added 4 commits June 27, 2015 14:21
Fixes #8
Fixes #7 (as an
automatic side-effect, doing it otherwise would be complicated)
@martinlissmyr
Copy link
Copy Markdown
Contributor

I made this: #10 (could come in handy here I guess).

@snurra snurra mentioned this pull request Jul 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants