mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
25 lines
347 B
JavaScript
25 lines
347 B
JavaScript
/* global Module */
|
|
|
|
/* Magic Mirror
|
|
* Module: HelloWorld
|
|
*
|
|
* By Michael Teeuw http://michaelteeuw.nl
|
|
* MIT Licensed.
|
|
*/
|
|
|
|
Module.register("helloworld",{
|
|
|
|
// Default module config.
|
|
defaults: {
|
|
text: "Hello World!"
|
|
},
|
|
|
|
getTemplate: function () {
|
|
return "helloworld.html"
|
|
},
|
|
|
|
getTemplateData: function () {
|
|
return this.config
|
|
}
|
|
});
|