mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-26 03:52:28 +00:00
remove old weather modules
This commit is contained in:
parent
e917f40542
commit
f23e604ed4
@ -16,6 +16,10 @@ _This release is scheduled to be released on 2022-10-01._
|
||||
- New `showTimeToday` option in calendar module shows time for current-day events even if `timeFormat` is `"relative"`
|
||||
- Add hourly forecasts, apparent temperature & custom location name to SMHI weather provider
|
||||
|
||||
## Removed
|
||||
|
||||
- old weather modules `currentweather` and `weatherforecast`
|
||||
|
||||
## Updated
|
||||
|
||||
- Removed DAYAFTERTOMORROW from English
|
||||
|
@ -1,33 +0,0 @@
|
||||
/* eslint-disable */
|
||||
|
||||
/* MagicMirror²
|
||||
* Module: CurrentWeather
|
||||
*
|
||||
* By Michael Teeuw https://michaelteeuw.nl
|
||||
* MIT Licensed.
|
||||
*
|
||||
* This module is deprecated. Any additional feature will no longer be merged.
|
||||
*/
|
||||
Module.register("currentweather", {
|
||||
// Define start sequence.
|
||||
start: function () {
|
||||
Log.info("Starting module: " + this.name);
|
||||
},
|
||||
|
||||
// Override dom generator.
|
||||
getDom: function () {
|
||||
var wrapper = document.createElement("div");
|
||||
wrapper.className = this.config.tableClass;
|
||||
wrapper.innerHTML =
|
||||
"<style>text-decoration: none</style>" +
|
||||
"This module is deprecated since release v2.15 and removed with v2.19." +
|
||||
'<br>Please use the `weather` module as replacement, more info in the <a href="https://docs.magicmirror.builders/modules/weather.html" style="color: #ffffff">documentation</a>.';
|
||||
wrapper.className = "dimmed light small";
|
||||
return wrapper;
|
||||
},
|
||||
|
||||
// Override getHeader method.
|
||||
getHeader: function () {
|
||||
return "deprecated currentweather";
|
||||
}
|
||||
});
|
@ -4,7 +4,7 @@
|
||||
* By Michael Teeuw https://michaelteeuw.nl
|
||||
* MIT Licensed.
|
||||
*/
|
||||
const defaultModules = ["alert", "calendar", "clock", "compliments", "currentweather", "helloworld", "newsfeed", "weatherforecast", "updatenotification", "weather"];
|
||||
const defaultModules = ["alert", "calendar", "clock", "compliments", "helloworld", "newsfeed", "updatenotification", "weather"];
|
||||
|
||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||
if (typeof module !== "undefined") {
|
||||
|
@ -1,33 +0,0 @@
|
||||
/* eslint-disable */
|
||||
|
||||
/* MagicMirror²
|
||||
* Module: CurrentWeather
|
||||
*
|
||||
* By Michael Teeuw https://michaelteeuw.nl
|
||||
* MIT Licensed.
|
||||
*
|
||||
* This module is deprecated. Any additional feature will no longer be merged.
|
||||
*/
|
||||
Module.register("weatherforecast", {
|
||||
// Define start sequence.
|
||||
start: function () {
|
||||
Log.info("Starting module: " + this.name);
|
||||
},
|
||||
|
||||
// Override dom generator.
|
||||
getDom: function () {
|
||||
var wrapper = document.createElement("div");
|
||||
wrapper.className = this.config.tableClass;
|
||||
wrapper.innerHTML =
|
||||
"<style>text-decoration: none</style>" +
|
||||
"This module is deprecated since release v2.15 and removed with v2.19." +
|
||||
'<br>Please use the `weather` module as replacement, more info in the <a href="https://docs.magicmirror.builders/modules/weather.html" style="color: #ffffff">documentation</a>.';
|
||||
wrapper.className = "dimmed light small";
|
||||
return wrapper;
|
||||
},
|
||||
|
||||
// Override getHeader method.
|
||||
getHeader: function () {
|
||||
return "deprecated weatherforecast";
|
||||
}
|
||||
});
|
Loading…
x
Reference in New Issue
Block a user