diff --git a/1-12-skeleton/scripts/app.js b/1-12-skeleton/scripts/app.js index 6c3175d..8898808 100644 --- a/1-12-skeleton/scripts/app.js +++ b/1-12-skeleton/scripts/app.js @@ -14,6 +14,32 @@ addDialog: document.querySelector('.dialog-container'), daysOfWeek: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] }; + var injectedForecast = { + key: 'newyork', + label: 'New York, NY', + currently: { + time: 1453489481, + summary: 'Clear', + icon: 'partly-cloudy-day', + temperature: 52.74, + apparentTemperature: 74.34, + precipProbability: 0.20, + humidity: 0.77, + windBearing: 125, + windSpeed: 1.52 + }, + daily: { + data: [ + {icon: 'clear-day', temperatureMax: 55, temperatureMin: 34}, + {icon: 'rain', temperatureMax: 55, temperatureMin: 34}, + {icon: 'snow', temperatureMax: 55, temperatureMin: 34}, + {icon: 'sleet', temperatureMax: 55, temperatureMin: 34}, + {icon: 'fog', temperatureMax: 55, temperatureMin: 34}, + {icon: 'wind', temperatureMax: 55, temperatureMin: 34}, + {icon: 'partly-cloudy-day', temperatureMax: 55, temperatureMin: 34} + ] + } + }; /*****************************************************************************