From 0b145bf936c4d2064d614d7663d5526bf2759ef4 Mon Sep 17 00:00:00 2001 From: Peter Basham Date: Fri, 11 Mar 2016 18:35:39 +0000 Subject: [PATCH] Minor change to explicitly declare variables and pass lint tests --- routes/weather.js | 1 + 1 file changed, 1 insertion(+) diff --git a/routes/weather.js b/routes/weather.js index 2f4dfdb..3be2939 100755 --- a/routes/weather.js +++ b/routes/weather.js @@ -305,6 +305,7 @@ function calculateWeatherScale( adjustmentMethod, adjustmentOptions, weather ) { // Zimmerman method if ( adjustmentMethod === 1 ) { + var humidityBase, tempBase, precipBase; // Check to make sure valid data exists for all factors if ( !validateValues( [ "temp", "humidity", "precip" ], weather ) ) {