| author | ymh <ymh.work@gmail.com> |
| Fri, 06 Apr 2012 18:01:12 +0200 | |
| branch | nih-youtube |
| changeset 849 | 85f06cc23bfd |
| parent 661 | 48c1beea7b1c |
| child 766 | aa26ddaf2556 |
| 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); }