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

Backward browser compatability #2083

Merged
merged 3 commits into from
Jul 17, 2020
Merged

Backward browser compatability #2083

merged 3 commits into from
Jul 17, 2020

Conversation

sthuber90
Copy link
Contributor

This PR solves #1985. The "undefined" header is not shown on Safari < 11 anymore. Furthermore, the new logger implementation is now also working on older browsers i.e. Safari < 11. The issue here was that with an IIFE some browsers do not allow declaration of variables with let or var, but only with const. I think this makes sense as IIFE is used for immutable functions.

Only tested with Safari < 11 on iPad from 2012.

@MichMich MichMich merged commit a00a1c6 into MagicMirrorOrg:develop Jul 17, 2020
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.

2 participants