trinary / d3-transform

add an interface for svg transform attributes in d3.js
MIT License
160 stars 17 forks source link

Calling translate multiple times result in multiple "translate" in DOM #10

Closed ghn closed 9 years ago

ghn commented 9 years ago

Hi, plugin works fine except when calling

.attr("transform", translate) .attr("transform", translate) .attr("transform", translate)

==> we've got 3 "translate" in the same "transform" attribute.

seliopou commented 9 years ago

Hey there. Thanks for the filing the issue, but I couldn't reproduce with the information given. Can you provide a complete, runnable, example that exercises the bug?

ghn commented 9 years ago

oops, in fact the problem came from my own code. Sorry :)