Minor change to explicitly declare variables and pass lint tests

This commit is contained in:
Peter Basham
2016-03-11 18:35:39 +00:00
parent 5a71213c80
commit 0b145bf936

View File

@@ -305,6 +305,7 @@ function calculateWeatherScale( adjustmentMethod, adjustmentOptions, weather ) {
// Zimmerman method // Zimmerman method
if ( adjustmentMethod === 1 ) { if ( adjustmentMethod === 1 ) {
var humidityBase, tempBase, precipBase;
// Check to make sure valid data exists for all factors // Check to make sure valid data exists for all factors
if ( !validateValues( [ "temp", "humidity", "precip" ], weather ) ) { if ( !validateValues( [ "temp", "humidity", "precip" ], weather ) ) {