| author | veltr |
| Wed, 18 Jan 2012 10:21:23 +0100 | |
| branch | popcorn-port |
| changeset 657 | 138160f52f14 |
| parent 655 | b1e2dfc7a740 |
| child 661 | 48c1beea7b1c |
| permissions | -rw-r--r-- |
IriSP.HelloWorldWidget = function(Popcorn, config, Serializer) { IriSP.Widget.call(this, Popcorn, config, Serializer); } IriSP.HelloWorldWidget.prototype = new IriSP.Widget(); IriSP.HelloWorldWidget.prototype.draw = function() { this.selector .html('Hello, world') .css({ "text-align" : "center", "padding": "10px 0", "font-size" : "14px", }); console.log(this); }