maykar / compact-custom-header

This project has been replaced by Custom Header
MIT License
239 stars 31 forks source link

CCH not working with Edge browser #215

Closed IgorMarkovic closed 4 years ago

IgorMarkovic commented 4 years ago

It looks like cch is not working in an Edge browser. In de dev console I see the message 'SCRIPT5022: SCRIPT5022: Expected identifier, string or number' as soon as I add the js file to my Lovelace configuration and reload the page. After looking at the js file I see a lot of … (I think it's called 'Spread syntax') which, I think, is not fully supported in Edge: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax#Spread_in_object_literals

Could that be the problem? Or should it work in Microsoft Edge?

close-issue-app[bot] commented 4 years ago

As described in the issue template, issues missing the required info will be closed. Please open a new issue, fill in as much as you can, and do not remove anything in the template.