src/js/widgets/segmentsWidget.js
branchslider-port
changeset 229 808768eb5930
parent 223 f14172bdea28
child 238 6008172a0592
child 300 a50aea26ec89
equal deleted inserted replaced
228:53d8d95a0079 229:808768eb5930
    16 
    16 
    17   var self = this;
    17   var self = this;
    18   var annotations = this._serializer._data.annotations;
    18   var annotations = this._serializer._data.annotations;
    19 
    19 
    20   this.selector.css("overflow", "auto"); // clear the floats - FIXME : to refactor ?
    20   this.selector.css("overflow", "auto"); // clear the floats - FIXME : to refactor ?
    21   this.selector.append(Mustache.to_html(IriSP.segment_marker_template));
    21   this.selector.append(Mustache.to_html(IriSP.overlay_marker_template));
    22   
    22   
    23   this.positionMarker = this.selector.children(":first");
    23   this.positionMarker = this.selector.children(":first");
    24   
    24   
    25   this._Popcorn.listen("timeupdate", IriSP.wrap(this, this.positionUpdater));
    25   this._Popcorn.listen("timeupdate", IriSP.wrap(this, this.positionUpdater));
    26   
    26