--- 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});
- }
+ };
}
}
});