Skip to content

Commit 2e9a660

Browse files
committed
Rename output bundle from mapml-viewer to mapml.js for consistency
with project name
1 parent d21452d commit 2e9a660

File tree

104 files changed

+108
-108
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+108
-108
lines changed

Gruntfile.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = function(grunt) {
2323
},
2424
dist: {
2525
files: {
26-
'dist/mapml-viewer.js': ['<%= rollup.main.dest %>']
26+
'dist/mapml.js': ['<%= rollup.main.dest %>']
2727
}
2828
}
2929
},
@@ -109,8 +109,8 @@ module.exports = function(grunt) {
109109
return Diff.applyPatch(content, patch);
110110
} else if (srcpath.includes('index.html')) {
111111
console.log('MODIFYING: ', srcpath);
112-
var pathToModuleRE = /dist\/mapml-viewer\.js/gi;
113-
return content.replace(pathToModuleRE,"./mapml-viewer.js");
112+
var pathToModuleRE = /dist\/mapml\.js/gi;
113+
return content.replace(pathToModuleRE,"./mapml.js");
114114
} else {
115115
return content;
116116
}
@@ -172,7 +172,7 @@ module.exports = function(grunt) {
172172
},
173173
clean: {
174174
dist: ['dist'],
175-
tidyup: ['dist/leaflet-src.js','dist/proj4-src.js','dist/proj4leaflet.js','dist/L.Control.Locate.js','dist/mapmlviewer.js','dist/webmap.js'],
175+
tidyup: ['dist/leaflet-src.js','dist/proj4-src.js','dist/proj4leaflet.js','dist/L.Control.Locate.js','dist/mapmlviewer.js'],
176176
experiments: {
177177
options: {force: true},
178178
src: ['../experiments/dist']

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width,initial-scale=1">
66
<title>index-map.html</title>
7-
<script type="module" src="dist/mapml-viewer.js"></script>
7+
<script type="module" src="dist/mapml.js"></script>
88
<style>
99
html,
1010
body {

test/e2e/api/domApi-HTMLLayerElement.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<title>domApi-HTMLLayerElement.html</title>
55
<meta charset="UTF-8">
6-
<script type="module" src="mapml-viewer.js"></script>
6+
<script type="module" src="mapml.js"></script>
77
</head>
88
<body>
99
<template>

test/e2e/api/domApi-mapml-viewer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<title>DOM API Test page</title>
55
<meta charset="UTF-8">
6-
<script type="module" src="mapml-viewer.js"></script>
6+
<script type="module" src="mapml.js"></script>
77
</head>
88
<body>
99
</body>

test/e2e/api/domApi-web-map.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<title>DOM API Test page</title>
55
<meta charset="UTF-8">
6-
<script type="module" src="mapml-viewer.js"></script>
6+
<script type="module" src="mapml.js"></script>
77
</head>
88
<body>
99
</body>

test/e2e/api/events/map-projectionchange.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<title>map-projectionchange event</title>
66
<!-- the layer in this map should continue to be visible when you change
77
the viewer projection from OSMTILE to CBMTILE. -->
8-
<script type="module" src="/mapml-viewer.js"></script>
8+
<script type="module" src="/mapml.js"></script>
99
</head>
1010
<body>
1111
<mapml-viewer zoom="2" lon="-75.703611" lat="45.411105" width="500" height="500" controls projection="OSMTILE">

test/e2e/api/locateApi.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width,initial-scale=1">
66
<title>locateApi.html</title>
7-
<script type="module" src="./mapml-viewer.js"></script>
7+
<script type="module" src="./mapml.js"></script>
88
<style>
99
html,
1010
body {

test/e2e/core/ArrowKeyNavContextMenu.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width,initial-scale=1">
66
<title>ArrowKeyNavContextMenu.html</title>
7-
<script type="module" src="./mapml-viewer.js"></script>
7+
<script type="module" src="./mapml.js"></script>
88
<style>
99
html,
1010
body {

test/e2e/core/axisInferring.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<title>Inferring Axes</title>
66
<meta charset="UTF-8">
77
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8-
<script type="module" src="mapml-viewer.js"></script>
8+
<script type="module" src="mapml.js"></script>
99
<style>
1010
[is=web-map] {
1111
width: 100%;

test/e2e/core/debugMode.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<head>
55
<title>Debug mode tests</title>
66
<meta charset="UTF-8">
7-
<script type="module" src="mapml-viewer.js"></script>
7+
<script type="module" src="mapml.js"></script>
88
<style>
99
html {
1010
height: 100%

0 commit comments

Comments
 (0)