Permalink
Browse files

Checkpointing.

  • Loading branch information...
1 parent ea6434f commit ba2b1537a18762d8ef4147c27ef3104d622ddc2e @jasondavies jasondavies committed Sep 29, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/core/transition-attr.js
@@ -1,4 +1,8 @@
d3_transitionPrototype.attr = function(name, value) {
+ if (typeof name === "object") {
+ for (value in name) this.attr(value, name[value]);
+ return this;
+ }
return this.attrTween(name, d3_transitionTween(value));
};

0 comments on commit ba2b153

Please sign in to comment.