mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-04-25 23:17:10 -04:00
20 lines
327 B
JavaScript
20 lines
327 B
JavaScript
/* Magic Mirror
|
|
* 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;
|
|
}
|
|
});
|