tahamajs's picture
download
raw
686 Bytes
import "../core/array";
import "selection";
d3_selectionPrototype.selectAll = function(selector) {
var subgroups = [],
subgroup,
node;
selector = d3_selection_selectorAll(selector);
for (var j = -1, m = this.length; ++j < m;) {
for (var group = this[j], i = -1, n = group.length; ++i < n;) {
if (node = group[i]) {
subgroups.push(subgroup = d3_array(selector.call(node, node.__data__, i, j)));
subgroup.parentNode = node;
}
}
}
return d3_selection(subgroups);
};
function d3_selection_selectorAll(selector) {
return typeof selector === "function" ? selector : function() {
return d3_selectAll(selector, this);
};
}

Xet Storage Details

Size:
686 Bytes
·
Xet hash:
f2da7fc8572cf3b51f3ab5971bdf79a2a4ef18bb870cf8ed6088084fd08d908a

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.