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

Function selection_cloneShallow

external/.d3.js:2372–2375  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2370}
2371
2372function selection_cloneShallow() {
2373 var clone = this.cloneNode(false), parent = this.parentNode;
2374 return parent ? parent.insertBefore(clone, this.nextSibling) : clone;
2375}
2376
2377function selection_cloneDeep() {
2378 var clone = this.cloneNode(true), parent = this.parentNode;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected