UNPKG

@plotly/d3

Version:

A JavaScript visualization library for HTML and SVG.

10 lines (8 loc) 238 B
import "transition"; d3_transitionPrototype.remove = function() { var ns = this.namespace; return this.each("end.transition", function() { var p; if (this[ns].count < 2 && (p = this.parentNode)) p.removeChild(this); }); };