-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(client): revert modern syntax to allow IE11 use #3632
Conversation
@longlho FYI |
hmm also the arrow functions need to be rewritten as well :( |
✅ Build karma 2879 completed (commit 136526410d by @johnjbarton) |
✅ Build karma 482 completed (commit 136526410d by @johnjbarton) |
✅ Build karma 481 completed (commit 136526410d by @johnjbarton) |
I also don't see this fixing anything, which was not fixed in #3629. Or am I missing something? |
No, I missed the later commits that fixed updater.js, sorry. |
@johnjbarton @devoto13 Shouldn't you all enforce this with ESLint? BTW I personally dislike standard, but you could use standardx to enforce some options. |
@XhmikosR This sounds like a great idea! I'll look into setting up ESLint to fail on >ES5 code in the client scripts. This way we can catch such problems before IE 11 tests are run on the post-commit build. |
The IE11 |
I still think it's just simpler to enforce ES5 in the linting stage, but it's just my 2 cents. |
Fixes #3629 #3630