diff --git a/MMM-covid19.js b/MMM-covid19.js index c82bf45..0752b79 100644 --- a/MMM-covid19.js +++ b/MMM-covid19.js @@ -94,7 +94,7 @@ Module.register("MMM-covid19", { }, update_data: function() { - // get and parse json data from source + // get and parse json data from source var xmlHttp = new XMLHttpRequest(); xmlHttp.open( "GET", this.config.data_url, false ); // false for synchronous request xmlHttp.send( null ); @@ -107,10 +107,10 @@ Module.register("MMM-covid19", { this.cases.death = data[this.config.region]["tot"]; this.cases.cured = data[this.config.region]["gesund"]; this.cases.ts = data[this.config.region]["date"]; - + // determine trend: // calc this and last weeks cases and substract - // results the different of new cases between this and last week + // result is the difference of new cases between this and last week // +10: red (arrow up) // +0: orange (arrow up) // 0: normal (arrow right) diff --git a/README.md b/README.md index a1acb62..a0b6de5 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,6 @@ modules: [ position: "top_left", config: { // The config property is optional. - // If no config is set, an example calendar is shown. // See 'Configuration options' for more information. } }