mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-04-25 23:17:10 -04:00
see #3358 used command: `find ./ -type f -exec perl -i -0pe 's/\/\*\s*magicmirror.*?\*\/\s*//si' {} \;` This is a first draft, I think we should preserve some of the comments.
14 lines
201 B
JavaScript
14 lines
201 B
JavaScript
Module.register("helloworld", {
|
|
// Default module config.
|
|
defaults: {
|
|
text: "Hello World!"
|
|
},
|
|
|
|
getTemplate () {
|
|
return "helloworld.njk";
|
|
},
|
|
|
|
getTemplateData () {
|
|
return this.config;
|
|
}
|
|
});
|