From 87f81bcb0165654acce223f69b733fbec10ca691 Mon Sep 17 00:00:00 2001 From: iH8 Date: Tue, 31 Oct 2017 18:45:34 +0100 Subject: [PATCH] Make editors use source instead of minified (#5887) Make editors use source instead of minified --- docs/edit.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/edit.html b/docs/edit.html index 1f43a366..c22586c1 100644 --- a/docs/edit.html +++ b/docs/edit.html @@ -14,7 +14,7 @@ html: '
', cssFile: 'https://unpkg.com/leaflet/dist/leaflet.css', css: 'body {\n\tmargin: 0;\n}\nhtml, body, #leaflet {\n\theight: 100%\n}', - jsFile: 'https://unpkg.com/leaflet/dist/leaflet.js', + jsFile: 'https://unpkg.com/leaflet/dist/leaflet-src.js', js: "var map = new L.Map('leaflet', {\n\tlayers: [\n\t\tnew L.TileLayer('//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {\n\t\t\t'attribution': 'Map data © OpenStreetMap contributors'\n\t\t})\n\t],\n\tcenter: [0, 0],\n\tzoom: 0\n});" }; @@ -30,10 +30,10 @@ if (config.version) { if (config.version === 'master') { config.cssFile = 'https://leafletjs-cdn.s3.amazonaws.com/content/build/master/leaflet.css', - config.jsFile = 'https://leafletjs-cdn.s3.amazonaws.com/content/build/master/leaflet.js' + config.jsFile = 'https://leafletjs-cdn.s3.amazonaws.com/content/build/master/leaflet-src.js' } else { config.cssFile = `https://unpkg.com/leaflet@${config.version}/dist/leaflet.css` - config.jsFile = `https://unpkg.com/leaflet@${config.version}/dist/leaflet.js` + config.jsFile = `https://unpkg.com/leaflet@${config.version}/dist/leaflet-src.js` } }