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` } }