From 859bce73dd992c6966319c98a6563133f0e7cd2f Mon Sep 17 00:00:00 2001 From: Samer Albahra Date: Fri, 3 Jul 2015 02:54:58 -0500 Subject: [PATCH] Remove debug code --- routes/weather.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/weather.js b/routes/weather.js index 321aabb..c32d0ea 100644 --- a/routes/weather.js +++ b/routes/weather.js @@ -204,7 +204,7 @@ function calculateWeatherScale( adjustmentMethod, adjustmentOptions, weather ) { humidityFactor = ( 30 - weather.humidity ), tempFactor = ( ( temp - 70 ) * 4 ), precipFactor = ( weather.precip * -200 ); -console.log(temp, humidityFactor, tempFactor, precipFactor); + // Apply adjustment options, if provided, by multiplying the percentage against the factor if ( adjustmentOptions ) { if ( adjustmentOptions.hasOwnProperty( "h" ) ) {