Closed aleccool213 closed 5 years ago
Have you tried to replace window
with this
?
It should work according to @frencojobs https://github.com/sandoche/Darkmode.js/issues/15#issuecomment-516090228
@sandoche No, I read that and wasn't convinced that is the correct solution. Do you have any insight into why that would be better? IS_BROWSER
is very clear to the reader.
Why did you change the linting rules ?
@sandoche Sorry about that! I accidentally committed it. I pushed up my changes without the eslint changes.
Been waiting for this PR to merge 😅
Yes sorry I didn't have the time yet. I will check this out this weekend!
@adithwip Branch finally merged! @aleccool213 THanks for this amazing fix!
Amazing! Thanks for the fix @aleccool213 And thanks for this marvelous project @sandoche
window
is not defined