First Nunchucks Implementation.

This commit is contained in:
Michael Teeuw 2017-09-28 16:11:25 +02:00
parent 5fde095a6f
commit e01794a07f
10 changed files with 7178 additions and 19 deletions

View file

@ -14,10 +14,11 @@ Module.register("helloworld",{
text: "Hello World!"
},
// Override dom generator.
getDom: function() {
var wrapper = document.createElement("div");
wrapper.innerHTML = this.config.text;
return wrapper;
getTemplate: function () {
return "helloworld.html"
},
getTemplateData: function () {
return this.config
}
});