diff -r 78f392af62db -r 48c1beea7b1c src/js/widgets/helloWorldWidget.js --- a/src/js/widgets/helloWorldWidget.js Wed Jan 18 11:32:21 2012 +0100 +++ b/src/js/widgets/helloWorldWidget.js Wed Jan 18 11:34:52 2012 +0100 @@ -1,17 +1,17 @@ -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); -} +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); +}