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

Function selection_cloneDeep

external/.d3.js:2377–2380  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2375}
2376
2377function selection_cloneDeep() {
2378 var clone = this.cloneNode(true), parent = this.parentNode;
2379 return parent ? parent.insertBefore(clone, this.nextSibling) : clone;
2380}
2381
2382function selection_clone(deep) {
2383 return this.select(deep ? selection_cloneDeep : selection_cloneShallow);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected