Skip to content
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

Closed
wants to merge 1 commit into from

Conversation

johnjbarton
Copy link
Contributor

Fixes #3629 #3630

@johnjbarton
Copy link
Contributor Author

@longlho FYI

@longlho
Copy link
Contributor

longlho commented Jan 25, 2021

hmm also the arrow functions need to be rewritten as well :(

@AppVeyorBot
Copy link

Build karma 2879 completed (commit 136526410d by @johnjbarton)

@karmarunnerbot
Copy link
Member

Build karma 482 completed (commit 136526410d by @johnjbarton)

@karmarunnerbot
Copy link
Member

Build karma 481 completed (commit 136526410d by @johnjbarton)

@devoto13
Copy link
Collaborator

I also don't see this fixing anything, which was not fixed in #3629. Or am I missing something?

@johnjbarton
Copy link
Contributor Author

No, I missed the later commits that fixed updater.js, sorry.

@XhmikosR
Copy link
Contributor

XhmikosR commented Feb 2, 2021

@johnjbarton @devoto13 Shouldn't you all enforce this with ESLint? BTW I personally dislike standard, but you could use standardx to enforce some options.

@devoto13
Copy link
Collaborator

devoto13 commented Feb 2, 2021

@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.

@johnjbarton
Copy link
Contributor Author

The IE11 test:client is clearly adequate to this task, if we run that test. The fail here was that the browserstack tests failed on post commit and we did not block the PR commit for the new syntax. The fix is should be to run the test and have it block PRs from merging.

@XhmikosR
Copy link
Contributor

XhmikosR commented Feb 2, 2021

I still think it's just simpler to enforce ES5 in the linting stage, but it's just my 2 cents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants