diff --git a/README.md b/README.md index 4f130de..b13a084 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,13 @@ Demo Website [http://peter.build/weather-underground-icons/](http://peter.build/weather-underground-icons/) +Using the Example +--- + +Before you can use the Example, you will need to update the `API_KEY` variable in the `example/js/site.js` file. + +You can get your API Key from [Weather Underground](https://www.wunderground.com/weather/api/). + Usage Instructions --- diff --git a/example/js/site.js b/example/js/site.js index 2983d5a..c26ba0d 100644 --- a/example/js/site.js +++ b/example/js/site.js @@ -26,7 +26,7 @@ */ function getWeather (zipcode) { $('.weather-input .error-message').fadeOut(); - + fetchingWeather = true; if (!/[0-9]{5}/.test(zipcode)) {