Skip to content

Pipe events from d3.dispatch to host Ember object #53

@ming-codes

Description

@ming-codes
Ember.Object.extend({
  brush: Ember.computed(function () {
    return d3.svg.brush();
  })
});

In the event above, d3.svg.brush produces events that cannot be cleanly handled.

When CP is recomputed, the previous brush is discarded with no chance for proper cleanup.

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