hashicon icon indicating copy to clipboard operation
hashicon copied to clipboard

Doesn't work in MS Edge or IE11

Open careyestes opened this issue 5 years ago • 3 comments

Load up https://etcdevteam.github.io/hashicon/examples/ in Edge or IE and you will see it doesnt load the icons. Ive implemented it using React and get a few js errors in the console.

Both the hashicon demo site and my localhost get this: image

Will support for Edge and IE be added?

careyestes avatar Sep 09 '19 18:09 careyestes

Yes. The current code is written in modern javascript (ES6), we need to transpile for older browsers (I'm surprised IE Edge doesn't handle it..).
TODO: Babel (as rollup plugin) will solve this.

oori avatar Sep 10 '19 09:09 oori

@oori, I see that babel is commented out in the rollup config file. Is this intentional? Will uncommenting the plugin fix?

cwbutler avatar Sep 25 '19 15:09 cwbutler

Nope.. Using "rollup-plugin-babel" is the start, but requires more. Lack of time and need pushes this down on my TODO list, but I'll try to do it soon. PR welcome.

oori avatar Sep 26 '19 07:09 oori