Minor change to explicitly declare variables and pass lint tests
This commit is contained in:
@@ -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 ) ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user