Skip to content

Commit bb52d62

Browse files
committed
Allow d3.transition to take an optional name.
1 parent 737a991 commit bb52d62

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

d3.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8564,8 +8564,8 @@
85648564
d3_transitionPrototype.empty = d3_selectionPrototype.empty;
85658565
d3_transitionPrototype.node = d3_selectionPrototype.node;
85668566
d3_transitionPrototype.size = d3_selectionPrototype.size;
8567-
d3.transition = function(selection) {
8568-
return arguments.length ? d3_transitionInheritId ? selection.transition() : selection : d3_selectionRoot.transition();
8567+
d3.transition = function(selection, name) {
8568+
return arguments.length ? d3_transitionInheritId ? selection.transition(name) : selection : d3_selectionRoot.transition(name);
85698569
};
85708570
d3.transition.prototype = d3_transitionPrototype;
85718571
d3_transitionPrototype.select = function(selector) {

0 commit comments

Comments
 (0)