diff -r 7e18d953a1f8 -r 392ddcd212d7 src/widgets/MultiSegments.js --- a/src/widgets/MultiSegments.js Mon Sep 30 14:39:34 2013 +0200 +++ b/src/widgets/MultiSegments.js Tue Oct 01 15:41:46 2013 +0200 @@ -9,7 +9,7 @@ annotation_start_minimized: true, annotation_show_annotation_type: true, show_all: false -} +}; IriSP.Widgets.MultiSegments.prototype.draw = function() { var _this = this, @@ -24,7 +24,7 @@ if (/^annotation_/.test(_k)) { annotationopts[_k.replace(/^annotation_/,"")] = _v; } - }) + }); this.source.getAnnotationTypes().forEach(function(_anntype) { var segments = _anntype.getAnnotations().filter(function(_ann) { return _ann.getDuration() > 0; @@ -54,7 +54,7 @@ this.annotationWidget.slideDown(); } } - } + }; line.segmentWidget @@ -96,7 +96,7 @@ lines.push(line); } }); - var _annotationWidgets = _this.$.find(".Ldt-MultiSegments-Annotation") + var _annotationWidgets = _this.$.find(".Ldt-MultiSegments-Annotation"); function checkVisibilities(_time) { if (!_this.show_all && currentLine && !currentLine.hasSegmentsNow()) { @@ -119,4 +119,4 @@ } this.onMediaEvent("timeupdate", checkVisibilities); -} \ No newline at end of file +}; \ No newline at end of file