diff --git a/debug/css/mobile.css b/debug/css/mobile.css new file mode 100644 index 00000000..d8f46f32 --- /dev/null +++ b/debug/css/mobile.css @@ -0,0 +1,6 @@ +html, body, #map { + margin: 0; + padding: 0; + width: 100%; + height: 100%; +} \ No newline at end of file diff --git a/debug/css/screen.css b/debug/css/screen.css new file mode 100644 index 00000000..f9886987 --- /dev/null +++ b/debug/css/screen.css @@ -0,0 +1,5 @@ +#map { + width: 800px; + height: 600px; + border: 1px solid #ccc; + } \ No newline at end of file diff --git a/debug/include.js b/debug/include.js index 90c70b5a..c955d605 100644 --- a/debug/include.js +++ b/debug/include.js @@ -56,6 +56,6 @@ ]; for (var i = 0; i < scripts.length; i++) { - document.writeln(""); + document.writeln(""); } })(); \ No newline at end of file diff --git a/debug/map-mobile.html b/debug/map/map-mobile.html similarity index 72% rename from debug/map-mobile.html rename to debug/map/map-mobile.html index db902e45..6954ebdf 100644 --- a/debug/map-mobile.html +++ b/debug/map/map-mobile.html @@ -5,19 +5,12 @@ - - - - + + + + - + diff --git a/debug/map.html b/debug/map/map.html similarity index 83% rename from debug/map.html rename to debug/map/map.html index d4b16706..778c49da 100644 --- a/debug/map.html +++ b/debug/map/map.html @@ -3,10 +3,12 @@ Leaflet debug page - - + + - + + + diff --git a/debug/route.js b/debug/vector/route.js similarity index 100% rename from debug/route.js rename to debug/vector/route.js diff --git a/debug/vector/vector-mobile.html b/debug/vector/vector-mobile.html new file mode 100644 index 00000000..ad2bac1a --- /dev/null +++ b/debug/vector/vector-mobile.html @@ -0,0 +1,38 @@ + + + + Leaflet debug page + + + + + + + + + + + +
+ + + + + \ No newline at end of file diff --git a/debug/vector.html b/debug/vector/vector.html similarity index 74% rename from debug/vector.html rename to debug/vector/vector.html index cee4536f..0c87df1c 100644 --- a/debug/vector.html +++ b/debug/vector/vector.html @@ -3,10 +3,12 @@ Leaflet debug page - - - - + + + + + +
diff --git a/src/Leaflet.js b/src/Leaflet.js index 8ea27cc0..c773496a 100644 --- a/src/Leaflet.js +++ b/src/Leaflet.js @@ -14,7 +14,7 @@ var L = { res = src && src.match(/^(.*\/)leaflet-*\w*\.js.*$/); if (res && res[1]) { return res[1]; } } - return '../dist/'; + return '../../dist/'; })(), noConflict: function() {