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

broken in latest web-browsers #1

Closed
opcodewriter opened this issue Mar 24, 2016 · 2 comments
Closed

broken in latest web-browsers #1

opcodewriter opened this issue Mar 24, 2016 · 2 comments

Comments

@opcodewriter
Copy link

http://oeasvg.com/bower_components/Hotdraw.js/index.html is broken in latest Chrome

Uncaught TypeError: this.getNode(...).getTransformToElement is not a function

A polyfill is required

SVGElement.prototype.getTransformToElement = SVGElement.prototype.getTransformToElement || function(elem) {
    return elem.getScreenCTM().inverse().multiply(this.getScreenCTM());
};

dagrejs/dagre-d3#202

@websemantics
Copy link
Owner

Thanks @opcodewriter for reporting the issue and the suggested solution, .. it should work now.

@opcodewriter
Copy link
Author

wow, nice, thanks!

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