diff -r 5e10069c5c21 -r fe676a466715 src/js/widgets/stackGraphWidget.js --- a/src/js/widgets/stackGraphWidget.js Wed Jan 18 11:35:18 2012 +0100 +++ b/src/js/widgets/stackGraphWidget.js Wed Jan 18 14:51:23 2012 +0100 @@ -1,6 +1,6 @@ IriSP.StackGraphWidget = function(Popcorn, config, Serializer) { IriSP.Widget.call(this, Popcorn, config, Serializer); -} +}; IriSP.StackGraphWidget.prototype = new IriSP.Widget(); @@ -166,7 +166,7 @@ "opacity" : 0, }) }) -} +}; IriSP.StackGraphWidget.prototype.timeUpdateHandler = function() { var _currentTime = this._Popcorn.currentTime(), @@ -177,7 +177,7 @@ this.ligneProgress.attr({ "path" : "M" + _x + " 0L" + _x + " " + this.height, }) -} +}; IriSP.StackGraphWidget.prototype.clickHandler = function(event) { /* Ctrl-C Ctrl-V'ed from another widget @@ -209,5 +209,5 @@ "x" : _segment * _width, "opacity" : .4, }) -} +};