Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

"Custom Element doesn't exist" Older Browser Issue #16

Open
scottdarby93 opened this issue Oct 22, 2018 · 4 comments
Open

"Custom Element doesn't exist" Older Browser Issue #16

scottdarby93 opened this issue Oct 22, 2018 · 4 comments

Comments

@scottdarby93
Copy link

Hello, I've currently got this issue on older browsers where the Javascript version is es5, is there anyway of making the addon backwards compatible with this version of Javascript?

Everything works perfectly on newer devices.

@ChefsSlaad
Copy link

ChefsSlaad commented Dec 29, 2018

same here. Chromium on rasbian (currently version 65) does not display the card and instead throws a 'custom element does not exist' error. The same card works fine on chrome 70 on ubuntu 18.04

another thing: the instruction refers to /local/custom_ui/calendar-card/calendar-card.js?v=1.0.1, but that file (or dir) does not exist in my [config]/www/ folder

@ChefsSlaad
Copy link

update: creating a file in /local/custom_ui/calendar-card/calendar-card.js witth the content of https://github.com/custom-components/custom_updater/blob/master/custom_components/custom_updater.py solves the issue. still works on a newer version of chrome as well

@jimbroze
Copy link

jimbroze commented Jan 9, 2019

@marcwagner Is there any particular reason you used the contents of custom_updater.py? I have the same issue but unfortunately this didn't solve it.

@superharaldsson
Copy link

I have the same problem. @marcwagner what stuff did you change in the calendar-card.js file?
@jimbroze did you come up with any solution?
Mr Jonas

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants