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

Using const in size.js breaks IE11 #272

Closed
boyanio opened this issue Dec 21, 2020 · 2 comments
Closed

Using const in size.js breaks IE11 #272

boyanio opened this issue Dec 21, 2020 · 2 comments

Comments

@boyanio
Copy link

boyanio commented Dec 21, 2020

Code in D3 is written in a way to support older browsers and since we have clients on IE11, size.js throws an error there for them, because of const.

@gordonwoodhull
Copy link

Please see the release notes - this is intentional.

https://github.com/d3/d3-selection/releases/tag/v2.0.0

You must stick with 1.x or transpile if you still need to support IE.

@boyanio
Copy link
Author

boyanio commented Dec 21, 2020

Yes, just realized that and saw there were other breaking changes for the older browser. Thanks for this!

@boyanio boyanio closed this as completed Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants