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