You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
328 B
20 lines
328 B
/* MagicMirror²
|
|
* Module: HelloWorld
|
|
*
|
|
* By Michael Teeuw https://michaelteeuw.nl
|
|
* MIT Licensed.
|
|
*/
|
|
Module.register("helloworld", {
|
|
// Default module config.
|
|
defaults: {
|
|
text: "Hello World!"
|
|
},
|
|
|
|
getTemplate: function () {
|
|
return "helloworld.njk";
|
|
},
|
|
|
|
getTemplateData: function () {
|
|
return this.config;
|
|
}
|
|
});
|
|
|