Bug in deprecated.js not compiling

Users using IE10 (they’re not able to upgrade to IE11) see a blank screen after login.

It looks like ‘const’ on line 5 of assets/javascripts/deprecated.js is not being compiled/isn’t ES6.

I’m not sure how to fix, so submitting this bug note vs a PR. Am new to Discourse, so let me know if I should be doing things differently.

Thanks!

I don’t know how best to handle your situation.

What are the minimum browser requirements?
Discourse is designed for the next 10 years of the Internet, so the minimum browser requirements are high:

Internet Explorer 11+
Google Chrome 24+
Firefox 14+
Safari 6.1+

2 Likes

IE10 is dead as of January this year, not supported by Microsoft.

it looks like all the other files are ES6, so backward compatible. would changing the extension of deprecated.js take care of it?

Oh I see the problem is IE10 users aren’t seeing the error message right? Let me try to repro.

1 Like

Thanks! Yeah, they just see a blank screen.
But grepping shows this is the only const not getting compiled, so I think it’d work if we were able to change that.

1 Like

https://github.com/discourse/discourse/pull/4464

3 Likes