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