crossedxd / epr-checker

A tool that performs lexical analysis of EPR bullets.
0 stars 0 forks source link

IE 11 Support #2

Closed mikerk92 closed 5 years ago

mikerk92 commented 5 years ago

You don't have it Input box appears, but after dropping data there nothing happens

mikerk92 commented 5 years ago

DOM7011: The code on this page disabled back and forward caching. For more information, see: http://go.microsoft.com/fwlink/?LinkID=291337 epr-checker HTML1300: Navigation occurred. epr-checker HTML1201: crossedxd.github.io is a website you've added to Compatibility View. epr-checker SCRIPT1004: Expected ';' epr-checker.js (8,7)

crossedxd commented 5 years ago

The appears to be an issue with IE11's lack of compatability with ES6's spread operators. I'll have to modify those bits of code to use a more traditional forEach() approach, as seen here: https://stackoverflow.com/questions/20069828/how-to-convert-set-to-array

crossedxd commented 5 years ago

Easiest option looks to be to change the implementation to use JavaScript objects, and then return Object.keys(objectName).sort(). Lemme know if you're getting emails for all these comments, haha.