src/js/widgets/segmentsWidget.js
branchpopcorn-port
changeset 139 ba2b3c15bd47
parent 132 e56122a14240
child 148 5e877acd85ca
equal deleted inserted replaced
138:37b70a8c61a2 139:ba2b3c15bd47
     1 IriSP.SegmentsWidget = function(Popcorn, config, Serializer) {
     1 IriSP.SegmentsWidget = function(Popcorn, config, Serializer) {
     2   IriSP.Widget.call(this, Popcorn, config, Serializer);  
     2   IriSP.Widget.call(this, Popcorn, config, Serializer);  
     3 };
     3 };
     4 
     4 
     5 IriSP.SegmentsWidget.prototype = new IriSP.Widget;
     5 IriSP.SegmentsWidget.prototype = new IriSP.Widget();
     6 
     6 
     7 IriSP.SegmentsWidget.prototype.draw = function() {
     7 IriSP.SegmentsWidget.prototype.draw = function() {
     8 
     8 
     9   var annotations = this._serializer._data.annotations;
     9   var annotations = this._serializer._data.annotations;
    10   
    10