d3 / d3-selection

Transform the DOM by selecting elements and joining to data.

Home Page:https://d3js.org/d3-selection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

selection.merge(transition) should error.

mbostock opened this issue · comments

transition.merge(selection) already errors because transition.merge enforces a matching transition._id, but selection.merge does not make a similar safety check.

On second thought, this isn’t going to be backwards-compatible, strictly-speaking, so… I guess never mind.

We can do it for 2.0.