web/cineconf/script.js
changeset 988 954019f62866
parent 919 e126d3e1e186
--- a/web/cineconf/script.js	Wed Nov 13 17:55:34 2013 +0100
+++ b/web/cineconf/script.js	Sun Nov 24 03:13:33 2013 +0100
@@ -1,7 +1,7 @@
 var tracking_keywords = [ "#AVPHannaArendt" ];
 
 function rejectUser(username) {
-    return (/^[A-Z][a-z]{2,8}[0-9]{4,6}$/.test(username))
+    return (/^[A-Z][a-z]{2,8}[0-9]{4,6}$/.test(username));
 }
 
 if (typeof annotations == "undefined" || !annotations) {
@@ -44,11 +44,11 @@
                 "s" : .8
             }
         }
-    }    
+    };
 }
 
 if (typeof l10n == "undefined") {
-    l10n = { "rechercher" : "Rechercher" }
+    l10n = { "rechercher" : "Rechercher" };
 }
 
 if (typeof suggested_keywords == "undefined") {
@@ -84,7 +84,7 @@
                 "rgxp" : new RegExp(_w.replace(/(\W)/g, '\\$1'), "im"),
                 "freq" : 0,
                 "annotations" : {}
-            }
+            };
         }),
         refMouse : { x : 0, y : 0},
         refPosTl : { x : 0, y : 0},
@@ -105,7 +105,7 @@
             'non', 'nos', 'nous', 'ont', 'oui', 'par', 'pas', 'peu', 'peut', 'plus', 'pour', 'que', 'qui', 'ses' ,'son', 'sont', 'sur',
             'tes', 'très', 'the', 'ton', 'tous', 'tout', 'une', 'votre', 'vos', 'vous'
             ]
-    }
+    };
 
 function getTweets(options) {
     
@@ -189,11 +189,11 @@
             var brobj = {
                 "referenced_by_id" : source_id,
                 "type" : type
-            }
+            };
             if (target.backRefs) {
                 target.backRefs.push(brobj);
             } else {
-                target.backRefs = [ brobj ]
+                target.backRefs = [ brobj ];
             }
         }
     }
@@ -207,7 +207,7 @@
         return;
     }
     
-    tweet.html_parts = []
+    tweet.html_parts = [];
     
     if (tweet.entities && tweet.entities.user_mentions) {
         for (var _i = 0; _i < tweet.entities.user_mentions.length; _i++) {
@@ -522,7 +522,7 @@
             return {
                 "id" : twCx.tlOnDisplay[ligne].displayData[i][colonne - l],
                 "annotation" : i
-            }
+            };
         }
         l = nl;
     }
@@ -1030,7 +1030,7 @@
     $("#timeline").mousewheel(function(e, d) {
         twCx.wheelDelta += d;
         if (Math.abs(twCx.wheelDelta) >= 1) {
-            if (twCx.wheelDelta > 0) {
+            if (twCx.wheelDelta > 0) {
                 tl = Math.min(twCx.date_levels.length - 1, twCx.timeLevel + 1);
             } else {
                 tl = Math.max(0, twCx.timeLevel - 1);
@@ -1079,7 +1079,7 @@
     });
     $("#inp_q").focus(function() {
         $("#recherche_annot").slideDown();
-        $(this).val($(this).val().replace(/ \(.+\)$/, ''))
+        $(this).val($(this).val().replace(/ \(.+\)$/, ''));
         if ($(this).hasClass("greyed")) {
             $(this).val("");
         }
@@ -1096,7 +1096,7 @@
         twCx.filtreTexte = '';
         focusOutRecherche();
         return false;
-    })
+    });
     $("#recherche").submit(function(evt) {
         evt.preventDefault();
         if (!$("#inp_q").hasClass("greyed")) {