Fixed Trailling Spaces

This commit is contained in:
Pranav Sethi 2018-03-03 05:00:26 -05:00
parent a6f08a09d5
commit 43d5311e5e

View File

@ -430,9 +430,7 @@ Module.register("currentweather",{
+ 1.22874*Math.pow(10,-3)*tempInF*tempInF*this.humidity
+ 8.5282*Math.pow(10,-4)*tempInF*this.humidity*this.humidity
- 1.99*Math.pow(10,-6)*tempInF*tempInF*this.humidity*this.humidity;
// this.feelsLike = Hindex.toFixed(0);
switch (this.config.units){
case "metric": this.feelsLike = Hindex.toFixed(0);
break;
@ -443,13 +441,10 @@ Module.register("currentweather",{
this.feelsLike = tc.toFixed(0);
break;
}
} else {
this.feelsLike = parseFloat(this.temperature).toFixed(0);
}
this.windDirection = this.deg2Cardinal(data.wind.deg);
this.windDeg = data.wind.deg;
this.weatherType = this.config.iconTable[data.weather[0].icon];