| author | veltr |
| Tue, 17 Apr 2012 20:19:46 +0200 | |
| branch | new-model |
| changeset 868 | a525cc2214e7 |
| parent 766 | aa26ddaf2556 |
| child 870 | 2c025db10a10 |
| 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 |
|
| 868 | 9 |
.append('Hello, world') |
| 661 | 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 |
} |