mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Fixed Trailling Spaces
This commit is contained in:
parent
a6f08a09d5
commit
43d5311e5e
@ -430,9 +430,7 @@ Module.register("currentweather",{
|
|||||||
+ 1.22874*Math.pow(10,-3)*tempInF*tempInF*this.humidity
|
+ 1.22874*Math.pow(10,-3)*tempInF*tempInF*this.humidity
|
||||||
+ 8.5282*Math.pow(10,-4)*tempInF*this.humidity*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;
|
- 1.99*Math.pow(10,-6)*tempInF*tempInF*this.humidity*this.humidity;
|
||||||
|
|
||||||
// this.feelsLike = Hindex.toFixed(0);
|
// this.feelsLike = Hindex.toFixed(0);
|
||||||
|
|
||||||
switch (this.config.units){
|
switch (this.config.units){
|
||||||
case "metric": this.feelsLike = Hindex.toFixed(0);
|
case "metric": this.feelsLike = Hindex.toFixed(0);
|
||||||
break;
|
break;
|
||||||
@ -443,13 +441,10 @@ Module.register("currentweather",{
|
|||||||
this.feelsLike = tc.toFixed(0);
|
this.feelsLike = tc.toFixed(0);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
this.feelsLike = parseFloat(this.temperature).toFixed(0);
|
this.feelsLike = parseFloat(this.temperature).toFixed(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
this.windDirection = this.deg2Cardinal(data.wind.deg);
|
this.windDirection = this.deg2Cardinal(data.wind.deg);
|
||||||
this.windDeg = data.wind.deg;
|
this.windDeg = data.wind.deg;
|
||||||
this.weatherType = this.config.iconTable[data.weather[0].icon];
|
this.weatherType = this.config.iconTable[data.weather[0].icon];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user