1
d3_selection_enterPrototype.select = function(selector) {
9
for (var j = -1, m = this.length; ++j < m;) {
10
upgroup = (group = this[j]).update;
11
subgroups.push(subgroup = []);
12
subgroup.parentNode = group.parentNode;
13
for (var i = -1, n = group.length; ++i < n;) {
14
if (node = group[i]) {
15
subgroup.push(upgroup[i] = subnode = selector.call(group.parentNode, node.__data__, i));
16
subnode.__data__ = node.__data__;
23
return d3_selection(subgroups);