-
-
Notifications
You must be signed in to change notification settings - Fork 470
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(addStyles): use var
instead of const
(IE fix)
#338
Conversation
IE10 and below don't support the `const` keyword and are throwing as of v0.22.0. This PR replaces `const` with `var` so everybody's happy.
Codecov Report
@@ Coverage Diff @@
## master #338 +/- ##
=======================================
Coverage 98.43% 98.43%
=======================================
Files 4 4
Lines 64 64
Branches 21 21
=======================================
Hits 63 63
Misses 1 1 Continue to review full report at Codecov.
|
var
instead of const
(IE fix)var
instead of const
(IE fix)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pleunv I will cut a release asap
Released in |
Awesome, thank you! |
What kind of change does this PR introduce?
v0.22.0 introduced support for webpack nonces, however the code contains a
const
keyword which throws on IE10 and below. This PR replacesconst
withvar
so everybody's happy. I've verified this fix in IE10.