tahamajs's picture
download
raw
767 Bytes
import "../selection/each";
import "transition";
d3_transitionPrototype.tween = function(name, tween) {
var id = this.id, ns = this.namespace;
if (arguments.length < 2) return this.node()[ns][id].tween.get(name);
return d3_selection_each(this, tween == null
? function(node) { node[ns][id].tween.remove(name); }
: function(node) { node[ns][id].tween.set(name, tween); });
};
function d3_transition_tween(groups, name, value, tween) {
var id = groups.id, ns = groups.namespace;
return d3_selection_each(groups, typeof value === "function"
? function(node, i, j) { node[ns][id].tween.set(name, tween(value.call(node, node.__data__, i, j))); }
: (value = tween(value), function(node) { node[ns][id].tween.set(name, value); }));
}

Xet Storage Details

Size:
767 Bytes
·
Xet hash:
bea86af32d44799435a428b1c6c1425df4facad104962de529798cc6cd8152bb

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