Sha256: 5625b84951796ab45e126df1d8f95c2e6f12298765bf85aa134a8fc54a159d5a

Contents?: true

Size: 663 Bytes

Versions: 6

Compression:

Stored size: 663 Bytes

Contents

d3_transitionPrototype.selectAll = function(selector) {
  var subgroups = [],
      subgroup,
      node;

  if (typeof selector !== "function") 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 = selector.call(node.node, node.node.__data__, i));
        for (var k = -1, o = subgroup.length; ++k < o;) {
          subgroup[k] = {node: subgroup[k], delay: node.delay, duration: node.duration};
        }
      }
    }
  }

  return d3_transition(subgroups, this.id).ease(this.ease());
};

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bum-0.0.17 public/d3/src/core/transition-selectAll.js
bum-0.0.16 public/d3/src/core/transition-selectAll.js
bum-0.0.15 public/d3/src/core/transition-selectAll.js
bum-0.0.14 public/d3/src/core/transition-selectAll.js
bum-0.0.13 public/d3/src/core/transition-selectAll.js
bum-0.0.12 public/d3/src/core/transition-selectAll.js