dnguyen800 / air-visual-card

A Lovelace card showing air quality data from airvisual.com. Requires the AirVisual component.
MIT License
106 stars 36 forks source link

unexpected keyword 'let' #4

Closed Mariusthvdb closed 5 years ago

Mariusthvdb commented 5 years ago

HI, this is the exact card I was looking for, so thanks for creating it. I have however this issue:

Schermafbeelding 2019-09-13 om 13 22 42

because of:

Schermafbeelding 2019-09-13 om 13 24 20

checking line 301 :

        console.log(`let sensor in sensorList: ${sensor}`);

you even comment it isn't working in the resource ;-)

any thought why this is still there?

taking out the whole commented bit, results in another error: unknown EOF:

thanks for having a look!

Mariusthvdb commented 5 years ago

think I have found the issue: in deleting the many trailing spaces, I accidentally deleted a html backtick `

sorry for the confusion. Closing