-
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
Bug: Template literals break older browsers #3630
Comments
Ditto for arrow functions and their implications (i.e. use of |
See #3629 for (3). |
@devoto13 what do you think of the other options ((1) and (2))? |
I think (2) is a must to prevent such regressions in the future. Re (1) I'm a bit on the fence. On one hand, it would be nice to write modern client JS and let tooling downlevel it to work in all browsers. We also already have a build process for client JS, so extending it with more capabilities wouldn't really change a workflow. On the other hand, it means more build tools to keep track of and maintain. In the past @johnjbarton didn't want to introduce more build tools to the repository, so I will let him decide. |
(2) is essential, but I can't get either browserstack or saucelabs to work in the time I had available. |
@johnjbarton I can spend some time on debugging the cross-browser testing later this week if you grant access to BrowserStack / SauceLabs to devoto13 at gmail.com. So I can access their web apps and see what happens inside a VM. |
🎉 This issue has been resolved in version 6.0.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
* remove template literals and arrow functions that break in IE11 Fixes karma-runner#3630
## [6.0.2](karma-runner/karma@v6.0.1...v6.0.2) (2021-01-25) ### Bug Fixes * avoid ES6+ syntax in client scripts ([karma-runner#3629](karma-runner#3629)) ([6629e96](karma-runner@6629e96)), closes [karma-runner#3630](karma-runner#3630)
Either:
Current occurrences of template literals (upon superficial skimming):
karma/client/updater.js
Line 32 in e246461
karma/client/updater.js
Line 56 in e246461
karma/client/updater.js
Line 74 in e246461
karma/client/karma.js
Line 194 in e246461
@johnjbarton awaiting your feedback on this...
The text was updated successfully, but these errors were encountered: