Using const in size.js breaks IE11
boyanio opened this issue · comments
Boyan Mihaylov commented
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.
Gordon Woodhull commented
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.
Boyan Mihaylov commented
Yes, just realized that and saw there were other breaking changes for the older browser. Thanks for this!