viresh-ratnakar / exolve

Online interactive crossword software in JavaScript
MIT License
73 stars 15 forks source link

Puzzles cannot be viewed in Internet Explorer #6

Closed Raceous closed 4 years ago

Raceous commented 5 years ago

Attached is a screenshot of how a puzzle looks when opened in IE. This is IE version 11.885.17134.0 on Windows Version 10.0.17134.885.

Raceous commented 5 years ago

1ACGRIDS_ Baking Bread playfully with Pixie Dust - Internet Explorer 8_12_19 5_35_09 PM

viresh-ratnakar commented 5 years ago

I looked into this a bit (in fits and starts unfortunately, as I do not have access to a Windows/IE set-up regularly).

Anything below IE11 will be really hard to support as the JS code is full of the desirably block-scoped "let/const" keywords instead of "var".

Unfortunately, IE11 does not support backtick-enclosed multiline strings in JS, which is how Exolve lets setters describe the entire grid, clues, ninas, questions, etc.

I tried to replace this with '....\n' + for every line (just to diagnose), but it does not work -- there must be other issues too, I suppose. Will keep trying some more, but am not very optimistic, unfortunately.

rhythmhq commented 4 years ago

Can you not use Babel to transpile your script into ECMA5?

viresh-ratnakar commented 4 years ago

Re: Can you not use Babel to transpile your script into ECMA5?

I think that might be doable, but I do not think that that complexity needs to be a part of the core software, esp as IE seems to be on its way to obsolescence (I will try harder to fix Edge issues -- still waiting for a period of time where I have access to a Windows machine for some time). If you try this and are successful, please let me know though. Thanks!

viresh-ratnakar commented 4 years ago

Closing the issue as I'm unlikely to work on this, unfortunately.