Remove debug code
This commit is contained in:
@@ -204,7 +204,7 @@ function calculateWeatherScale( adjustmentMethod, adjustmentOptions, weather ) {
|
|||||||
humidityFactor = ( 30 - weather.humidity ),
|
humidityFactor = ( 30 - weather.humidity ),
|
||||||
tempFactor = ( ( temp - 70 ) * 4 ),
|
tempFactor = ( ( temp - 70 ) * 4 ),
|
||||||
precipFactor = ( weather.precip * -200 );
|
precipFactor = ( weather.precip * -200 );
|
||||||
console.log(temp, humidityFactor, tempFactor, precipFactor);
|
|
||||||
// Apply adjustment options, if provided, by multiplying the percentage against the factor
|
// Apply adjustment options, if provided, by multiplying the percentage against the factor
|
||||||
if ( adjustmentOptions ) {
|
if ( adjustmentOptions ) {
|
||||||
if ( adjustmentOptions.hasOwnProperty( "h" ) ) {
|
if ( adjustmentOptions.hasOwnProperty( "h" ) ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user