2022-01-26 23:09:26 +01:00
|
|
|
/* MagicMirror²
|
2016-03-24 17:19:32 +01:00
|
|
|
* Module: HelloWorld
|
|
|
|
*
|
2020-04-28 23:05:28 +02:00
|
|
|
* By Michael Teeuw https://michaelteeuw.nl
|
2016-03-24 17:19:32 +01:00
|
|
|
* MIT Licensed.
|
|
|
|
*/
|
2020-05-11 22:22:32 +02:00
|
|
|
Module.register("helloworld", {
|
2016-03-24 17:19:32 +01:00
|
|
|
// Default module config.
|
|
|
|
defaults: {
|
2016-04-09 15:49:39 +02:00
|
|
|
text: "Hello World!"
|
2016-03-24 17:19:32 +01:00
|
|
|
},
|
|
|
|
|
2023-12-25 08:17:11 +01:00
|
|
|
getTemplate () {
|
2019-06-05 10:23:58 +02:00
|
|
|
return "helloworld.njk";
|
2017-09-28 16:11:25 +02:00
|
|
|
},
|
|
|
|
|
2023-12-25 08:17:11 +01:00
|
|
|
getTemplateData () {
|
2019-06-05 10:23:58 +02:00
|
|
|
return this.config;
|
2016-03-24 17:19:32 +01:00
|
|
|
}
|
|
|
|
});
|