MCPcopy Create free account
hub / github.com/breck7/scroll / transition_transition

Function transition_transition

external/.d3.js:4892–4912  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4890}
4891
4892function transition_transition() {
4893 var name = this._name,
4894 id0 = this._id,
4895 id1 = newId();
4896
4897 for (var groups = this._groups, m = groups.length, j = 0; j < m; ++j) {
4898 for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {
4899 if (node = group[i]) {
4900 var inherit = get(node, id0);
4901 schedule(node, name, id1, i, group, {
4902 time: inherit.time + inherit.delay + inherit.duration,
4903 delay: 0,
4904 duration: inherit.duration,
4905 ease: inherit.ease
4906 });
4907 }
4908 }
4909 }
4910
4911 return new Transition(groups, this._parents, name, id1);
4912}
4913
4914function transition_end() {
4915 var on0, on1, that = this, id = that._id, size = that.size();

Callers

nothing calls this directly

Calls 3

newIdFunction · 0.85
scheduleFunction · 0.85
getFunction · 0.70

Tested by

no test coverage detected