gl-vis / regl-line2d

:part_alternation_mark: Draw 2d polyline with regl
https://gl-vis.github.io/regl-line2d
MIT License
59 stars 15 forks source link

Destructuring assignment in regl-line2d breaks usage in IE11 #32

Closed bkomboz closed 6 years ago

bkomboz commented 6 years ago

I am a user of plotly.js (version 1.37.1) which depends on regl-line2d (version ^3.0.9). The destructuring assignment used in file index.js in regl-line2d is not compatibly with any version of Internet Explorer (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment ) and therefore breaks my app. I get an error script 1010 expected identifier.

dy commented 6 years ago

That will be fixed soon, for now please use babelify global transform or dist/plotly.js entry.

bkomboz commented 6 years ago

Ok, thanks for the immediate feedback.

dy commented 6 years ago

This should be fixed now.