Correction jsLint
authorPatrick PIERRE
ven., 30 mai 2014 19:05:48 +0200
changeset 124 f0f5895259d9
parent 123 3fc7130d289c
child 125 dc7473e2d1af
Correction jsLint
Pdf/BaladeNature/Js/balade_nature.js
--- a/Pdf/BaladeNature/Js/balade_nature.js	mer. mai 28 18:04:38 2014 +0200
+++ b/Pdf/BaladeNature/Js/balade_nature.js	ven. mai 30 19:05:48 2014 +0200
@@ -1,6 +1,9 @@
 // $Id$
 // balade_nature
 
+/*global $: true */
+/*global $$: true */
+
 var text = null;
 var spot = null;
 var box = null;
@@ -11,7 +14,7 @@
     // Hotspots
     (function initialize() {
         $$(".pdocHotspot").each(function(hotspot) {
-            var spot = $(hotspot.get('id') + "s")
+            var spot = $(hotspot.get('id') + "s");
             var scenario = hotspot.getElement("span");
             if (spot && scenario) {
                 hotspot.addEvent("click", function() {
@@ -58,7 +61,7 @@
                 e.preventDefault();
                 e.stopPropagation();
                 onMouseMove({clientX: e.touches[0].clientX, clientY: e.touches[0].clientY});
-            }
+            };
         }
     }
 });