MCPcopy Create free account
hub / github.com/breck7/scroll / removeFunction

Function removeFunction

external/.d3.js:4688–4694  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

4686}
4687
4688function removeFunction(id) {
4689 return function() {
4690 var parent = this.parentNode;
4691 for (var i in this.__transition) if (+i !== id) return;
4692 if (parent) parent.removeChild(this);
4693 };
4694}
4695
4696function transition_remove() {
4697 return this.on("end.remove", removeFunction(this._id));

Callers 1

transition_removeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected