MagicMirror/modules/default/helloworld/helloworld.js
Veeck abb5dc5739 Run prettier over ALL files once
No other changes done in this commit
2020-05-11 22:22:32 +02:00

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;
}
});