src/widgets/Renkan.js
changeset 1013 392ddcd212d7
parent 998 9521347ede1d
child 1018 de1e7cf6bfc4
--- a/src/widgets/Renkan.js	Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/Renkan.js	Tue Oct 01 15:41:46 2013 +0200
@@ -8,14 +8,14 @@
     annotation_regexp: /player\/([a-zA-Z0-9_-]+)\/.*id=([a-zA-Z0-9_-]+)/,
     tag_regexp: /search=([^&=]+)/,
     min_duration: 5000
-}
+};
 
 IriSP.Widgets.Renkan.prototype.messages = {
     "fr": {
     },
     "en": {
     }
-}
+};
 
 IriSP.Widgets.Renkan.prototype.template =
     '<div class="Ldt-Renkan-Container"><div class="Ldt-Renkan"></div></div>';
@@ -52,7 +52,7 @@
                     annotation: _ann,
                     begin: _ann.begin - _preroll,
                     end: _ann.end + _preroll
-                }
+                };
                 _this.node_times.push(_nt);
                 var _annselected = false,
                     _nodeselected = false;
@@ -90,10 +90,10 @@
         if (_tagmatch) {
             _node.on("select", function() {
                 _this.source.getAnnotations().search(_tagmatch[1]);
-            })
+            });
             _node.on("unselect", function() {
                 _this.source.getAnnotations().search("");
-            })
+            });
         }
     });
     Rkns.jsonIO(this.renkan, {
@@ -114,7 +114,7 @@
             return false;
         }
     });
-}
+};
 
 IriSP.Widgets.Renkan.prototype.onTimeupdate = function(_time) {
     IriSP._(this.node_times).each(function(_nt) {
@@ -129,4 +129,4 @@
             }
         }
     });
-}
+};