src/widgets/Annotation.js
changeset 1013 392ddcd212d7
parent 1009 ddbe31de8ad1
child 1025 5fb8d735fde0
--- a/src/widgets/Annotation.js	Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/Annotation.js	Tue Oct 01 15:41:46 2013 +0200
@@ -28,7 +28,7 @@
         excerpt_from: "Excerpt from:",
         untitled: "Untitled segment"
     }
-}
+};
 
 IriSP.Widgets.Annotation.prototype.template =
     '{{#show_arrow}}<div class="Ldt-Annotation-Arrow"></div>{{/show_arrow}}'
@@ -58,7 +58,7 @@
     search_on_tag_click: true,
     show_social: true,
     show_annotation_type: false
-}
+};
 
 IriSP.Widgets.Annotation.prototype.draw = function() {
     
@@ -125,7 +125,7 @@
              _this.$.find(".Ldt-Annotation-Creator").text(_annotation.creator);
         }
         if (_this.show_annotation_type) {
-            _this.$.find(".Ldt-Annotation-Type").text(_annotation.getAnnotationType().title)
+            _this.$.find(".Ldt-Annotation-Type").text(_annotation.getAnnotationType().title);
         }
         _this.$.find(".Ldt-Annotation-Begin").text(_annotation.begin.toString());
         _this.$.find(".Ldt-Annotation-End").text(_annotation.end.toString());
@@ -179,7 +179,7 @@
     this.$.find(".Ldt-Annotation-MaxMinButton").click(this.functionWrapper("toggleSize"));
     this.getWidgetAnnotations().forEach(function(_a) {
         _a.on("enter", function() {
-            drawAnnotation(_a)
+            drawAnnotation(_a);
         });
     });
     this.source.getAnnotations().on("found", highlightTitleAndDescription);
@@ -193,26 +193,26 @@
 	    	uri: (typeof currentAnnotation.url !== "undefined" 
 	            ? currentAnnotation.url
 	            : (document.location.href.replace(/#.*$/,'') + '#id='  + currentAnnotation.id))
-	    }
+	    };
     });
-}
+};
 
 IriSP.Widgets.Annotation.prototype.sendBounds = function() {
     this.player.trigger("Annotation.boundsChanged",this.bounds);
-}
+};
 
 IriSP.Widgets.Annotation.prototype.drawAnnotation = function(_annotation) {
     this.lastAnnotation = _annotation.id;
 
-}
+};
 
 IriSP.Widgets.Annotation.prototype.hide = function() {
     this.$.slideUp();
-}
+};
 
 IriSP.Widgets.Annotation.prototype.show = function() {
     this.$.slideDown();
-}
+};
 
 IriSP.Widgets.Annotation.prototype.toggleSize = function() {
     if (this.minimized) {
@@ -220,14 +220,14 @@
     } else {
         this.minimize();
     }
-}
+};
 
 IriSP.Widgets.Annotation.prototype.minimize = function() {
     this.minimized = true;
     this.$.find('.Ldt-Annotation-Inner').addClass("Ldt-Annotation-Minimized");
-}
+};
 
 IriSP.Widgets.Annotation.prototype.maximize = function() {
     this.minimized = false;
     this.$.find('.Ldt-Annotation-Inner').removeClass("Ldt-Annotation-Minimized");
-}
\ No newline at end of file
+};
\ No newline at end of file