Skip to content

Setting a computed attribute triggers two change events #140

@emileber

Description

@emileber

Related to the line 486, if I set a computed attribute, the following events are triggered:

  • change:myField change with (model, value) from epoxy,
  • standard backbone change with (model, options)

This has the side-effect of calling every listeners of the change event for this model twice, and with the wrong params the first time.

I don't get when this would be necessary (and a good idea)? Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions