Sha256: 8d9aca4511efc394f08a7f53221cdf1bbcd8f3584d123669df3a32e5942f08f1

Contents?: true

Size: 592 Bytes

Versions: 4

Compression:

Stored size: 592 Bytes

Contents

import "selection";

d3_selectionPrototype.transition = function() {
  var id = d3_transitionInheritId || ++d3_transitionId,
      subgroups = [],
      subgroup,
      node,
      transition = d3_transitionInherit || {time: Date.now(), ease: d3_ease_cubicInOut, delay: 0, duration: 250};

  for (var j = -1, m = this.length; ++j < m;) {
    subgroups.push(subgroup = []);
    for (var group = this[j], i = -1, n = group.length; ++i < n;) {
      if (node = group[i]) d3_transitionNode(node, i, id, transition);
      subgroup.push(node);
    }
  }

  return d3_transition(subgroups, id);
};

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
stripchart-0.0.3 lib/stripchart/public/components/d3/src/selection/transition.js
stripmem-0.0.3 lib/stripmem/public/components/d3/src/selection/transition.js
stripmem-0.0.2 lib/stripmem/public/components/d3/src/selection/transition.js
stripmem-0.0.1 lib/stripmem/public/components/d3/src/selection/transition.js