MCPcopy
hub / github.com/danvk/dygraphs / removeArray

Function removeArray

src/plugins/axes.js:79–84  ·  view source on GitHub ↗
(ary)

Source from the content-addressed store, hash-verified

77
78axes.prototype.detachLabels = function() {
79 function removeArray(ary) {
80 for (var i = 0; i < ary.length; i++) {
81 var el = ary[i];
82 if (el.parentNode) el.parentNode.removeChild(el);
83 }
84 }
85
86 removeArray(this.xlabels_);
87 removeArray(this.ylabels_);

Callers 1

axes.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected