| author | veltr |
| Fri, 09 Mar 2012 17:29:23 +0100 | |
| branch | popcorn-port |
| changeset 831 | 0dd21c298380 |
| parent 766 | aa26ddaf2556 |
| child 868 | a525cc2214e7 |
| permissions | -rw-r--r-- |
| 661 | 1 |
IriSP.HelloWorldWidget = function(Popcorn, config, Serializer) { |
2 |
IriSP.Widget.call(this, Popcorn, config, Serializer); |
|
3 |
} |
|
4 |
||
5 |
IriSP.HelloWorldWidget.prototype = new IriSP.Widget(); |
|
6 |
||
7 |
IriSP.HelloWorldWidget.prototype.draw = function() { |
|
8 |
this.selector |
|
9 |
.html('Hello, world') |
|
10 |
.css({ |
|
11 |
"text-align" : "center", |
|
12 |
"padding": "10px 0", |
|
|
766
aa26ddaf2556
fixed raphael's files to remove trailing colon at the end of objects to make
hamidouk
parents:
661
diff
changeset
|
13 |
"font-size" : "14px" |
| 661 | 14 |
}); |
15 |
|
|
16 |
console.log(this); |
|
17 |
} |