MagicMirror/modules/default/helloworld/helloworld.js
2020-04-28 23:05:28 +02:00

23 lines
348 B
JavaScript

/* global Module */
/* 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;
}
});