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.
In the event above,
d3.svg.brushproduces events that cannot be cleanly handled.When CP is recomputed, the previous brush is discarded with no chance for proper cleanup.