googlecodelabs / your-first-pwapp

Code associated with Your First Progressive Web App codelab
https://g.co/codelabs/pwa
Apache License 2.0
638 stars 555 forks source link

City is not defined #121

Closed suyashcjoshi closed 6 years ago

suyashcjoshi commented 6 years ago

app.getForecast(city.key, city.label); // city is not defined anywhere in the same code or steps till step 5 so the execution is throwing runtime error.

suyashcjoshi commented 6 years ago

never mind, I missed this line - it's there so closing this issue.

app.selectedCities.forEach(function(city) {