Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: elem.getTransformToElement is not a function #3

Closed
FrankFang opened this issue Mar 13, 2016 · 4 comments
Closed

Comments

@FrankFang
Copy link

No description provided.

@phodal
Copy link
Owner

phodal commented Mar 13, 2016

@FrankFang 有更详细的信息吗?是在本地搭建时遇到的问题?

@FrankFang
Copy link
Author

页面打开就报错哦。 dagre-d3.min.js:23
格式化后看到这一行:
, matrix = elem.getTransformToElement(elem.ownerSVGElement).translate(bbox.width / 2, bbox.height / 2);

@phodal
Copy link
Owner

phodal commented Mar 14, 2016

@FrankFang 看到了。。都愉快一年没动代码了,好神奇

@phodal
Copy link
Owner

phodal commented Mar 15, 2016

@FrankFang 对比了一下,Safari和Firefox上都是OK的,问题来源应该是新版本的Chrome才出现的。

@phodal phodal closed this as completed in 1f58e65 Mar 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants