BREAK: rename to MMM-MyCovid19
old name collides with existing module
This commit is contained in:
parent
610657509a
commit
e125808c57
4 changed files with 5 additions and 5 deletions
|
@ -6,7 +6,7 @@
|
||||||
* for civil use only
|
* for civil use only
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Module.register("MMM-covid19", {
|
Module.register("MMM-MyCovid19", {
|
||||||
defaults: {
|
defaults: {
|
||||||
region: "Bonn",
|
region: "Bonn",
|
||||||
updateInterval: 3 * 60 * 60 * 1000, // 4h
|
updateInterval: 3 * 60 * 60 * 1000, // 4h
|
||||||
|
@ -49,12 +49,12 @@ Module.register("MMM-covid19", {
|
||||||
|
|
||||||
getStyles: function () {
|
getStyles: function () {
|
||||||
// load custom css for module
|
// load custom css for module
|
||||||
return ["MMM-covid19.css"];
|
return ["MMM-MyCovid19.css"];
|
||||||
},
|
},
|
||||||
|
|
||||||
getTemplate: function () {
|
getTemplate: function () {
|
||||||
// load template for layout
|
// load template for layout
|
||||||
return 'MMM-covid19.njk';
|
return 'MMM-MyCovid19.njk';
|
||||||
},
|
},
|
||||||
|
|
||||||
getTemplateData: function () {
|
getTemplateData: function () {
|
|
@ -42,8 +42,8 @@ modules: [
|
||||||
## MMPM integration
|
## MMPM integration
|
||||||
```
|
```
|
||||||
mmpm add-ext-pkg \
|
mmpm add-ext-pkg \
|
||||||
--title="MMM-covid19" \
|
--title="MMM-MyCovid19" \
|
||||||
--author="smark" \
|
--author="smark" \
|
||||||
--repo="https://git.smsvc.net/MagicMirror/MMM-covid19" \
|
--repo="https://git.smsvc.net/MagicMirror/MMM-MyCovid19" \
|
||||||
--desc="covid19 statistics"
|
--desc="covid19 statistics"
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue