Bug in deprecated.js not compiling

(mae) #1

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.


(Mittineague) #2

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+

(Rafael dos Santos Silva) #3

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

(mae) #4

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

(Rafael dos Santos Silva) #5

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

(mae) #6

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.

(Rafael dos Santos Silva) #7

(Jeff Atwood) #8