diff --git a/debug/map/image-overlay.html b/debug/map/image-overlay.html
index cb136015..21377b6b 100644
--- a/debug/map/image-overlay.html
+++ b/debug/map/image-overlay.html
@@ -28,8 +28,8 @@
map.addLayer(osm);
var bounds = new L.LatLngBounds(
- new L.LatLng(40.71222,-74.22655),
- new L.LatLng(40.77394,-74.12544));
+ new L.LatLng(40.71222,-74.22655),
+ new L.LatLng(40.77394,-74.12544));
map.fitBounds(bounds);
diff --git a/debug/map/layer_remove_add.html b/debug/map/layer_remove_add.html
index 9397728f..46a964f6 100644
--- a/debug/map/layer_remove_add.html
+++ b/debug/map/layer_remove_add.html
@@ -1,23 +1,23 @@
- Leaflet debug page
+ Leaflet debug page
-
+
-
+
-
+
-
-
+
+
-
+
-
+
diff --git a/debug/map/markers.html b/debug/map/markers.html
index 075dea21..9669c927 100644
--- a/debug/map/markers.html
+++ b/debug/map/markers.html
@@ -1,22 +1,22 @@
- Leaflet debug page
+ Leaflet debug page
-
+
-
+
-
+
-
-
+
+
-
+
-
+
diff --git a/debug/map/opacity.html b/debug/map/opacity.html
index 65baa95d..e0dc3fd4 100644
--- a/debug/map/opacity.html
+++ b/debug/map/opacity.html
@@ -13,22 +13,22 @@
@@ -67,8 +67,8 @@
-
@@ -26,7 +25,7 @@
map.addLayer(demoMap);
- $('#foo').click(function() {
+ document.getElementById('foo').addEventListener('click', function() {
var topoUrl='http://server.arcgisonline.com/ArcGIS/rest/services/USA_Topo_Maps/MapServer/tile/{z}/{y}/{x}';
var topoMap = new L.TileLayer(topoUrl, { maxZoom: 19, attribution: 'Tiles: © Esri' });
map.addLayer(topoMap);
diff --git a/debug/tests/canvasloop.html b/debug/tests/canvasloop.html
index 6e64c908..6f5dbcf8 100644
--- a/debug/tests/canvasloop.html
+++ b/debug/tests/canvasloop.html
@@ -3,8 +3,9 @@
-
+
+
@@ -12,8 +13,6 @@
-
-
-