forked from MapComplete/MapComplete
Add type=module where needed
This commit is contained in:
parent
49f7deed3a
commit
14e2d71937
6 changed files with 7 additions and 7 deletions
2
404.html
2
404.html
|
@ -49,7 +49,7 @@
|
||||||
Not found...
|
Not found...
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="./notfound.ts"></script>
|
<script type="module" src="./notfound.ts"></script>
|
||||||
<script async data-goatcounter="https://pietervdvn.goatcounter.com/count" src="//gc.zgo.at/count.js"></script>
|
<script async data-goatcounter="https://pietervdvn.goatcounter.com/count" src="//gc.zgo.at/count.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
|
|
||||||
<div id="main" style="height: 100%">Loading...</div>
|
<div id="main" style="height: 100%">Loading...</div>
|
||||||
|
|
||||||
<script src="./UI/ImportFlow/ImportHelperGui.ts"></script>
|
<script type="module" src="./UI/ImportFlow/ImportHelperGui.ts"></script>
|
||||||
<script async data-goatcounter="https://pietervdvn.goatcounter.com/count" src="//gc.zgo.at/count.js"></script>
|
<script async data-goatcounter="https://pietervdvn.goatcounter.com/count" src="//gc.zgo.at/count.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
<div id="main" style="height: 100%">Loading...</div>
|
<div id="main" style="height: 100%">Loading...</div>
|
||||||
|
|
||||||
<script src="./UI/ImportFlow/ImportViewerGui.ts"></script>
|
<script type="module" src="./UI/ImportFlow/ImportViewerGui.ts"></script>
|
||||||
<script async data-goatcounter="https://pietervdvn.goatcounter.com/count" src="//gc.zgo.at/count.js"></script>
|
<script async data-goatcounter="https://pietervdvn.goatcounter.com/count" src="//gc.zgo.at/count.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
<div id="main"></div>
|
<div id="main"></div>
|
||||||
|
|
||||||
<script src="./UI/ProfessionalGui.ts"></script>
|
<script type="module" src="./UI/ProfessionalGui.ts"></script>
|
||||||
<script async data-goatcounter="https://pietervdvn.goatcounter.com/count" src="//gc.zgo.at/count.js"></script>
|
<script async data-goatcounter="https://pietervdvn.goatcounter.com/count" src="//gc.zgo.at/count.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -270,8 +270,8 @@ async function createLandingPage(layout: LayoutConfig, manifest, whiteIcons, alr
|
||||||
layout.shortDescription.textFor(targetLanguage)
|
layout.shortDescription.textFor(targetLanguage)
|
||||||
)
|
)
|
||||||
.replace(
|
.replace(
|
||||||
'<script src="./index.ts"></script>',
|
'<script type="module" src="./index.ts"></script>',
|
||||||
`<script src='./index_${layout.id}.ts'></script>`
|
`<script type="module" src='./index_${layout.id}.ts'></script>`
|
||||||
)
|
)
|
||||||
0
|
0
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
<div id="maindiv">'maindiv' not attached</div>
|
<div id="maindiv">'maindiv' not attached</div>
|
||||||
<div id="extradiv">'extradiv' not attached</div>
|
<div id="extradiv">'extradiv' not attached</div>
|
||||||
|
|
||||||
<script src="./test.ts"></script>
|
<script type="module" src="./test.ts"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener('load', () => {
|
window.addEventListener('load', () => {
|
||||||
|
|
Loading…
Reference in a new issue