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...
|
||||
</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>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
<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>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
<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>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
<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>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -270,8 +270,8 @@ async function createLandingPage(layout: LayoutConfig, manifest, whiteIcons, alr
|
|||
layout.shortDescription.textFor(targetLanguage)
|
||||
)
|
||||
.replace(
|
||||
'<script src="./index.ts"></script>',
|
||||
`<script src='./index_${layout.id}.ts'></script>`
|
||||
'<script type="module" src="./index.ts"></script>',
|
||||
`<script type="module" src='./index_${layout.id}.ts'></script>`
|
||||
)
|
||||
0
|
||||
try {
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<div id="maindiv">'maindiv' not attached</div>
|
||||
<div id="extradiv">'extradiv' not attached</div>
|
||||
|
||||
<script src="./test.ts"></script>
|
||||
<script type="module" src="./test.ts"></script>
|
||||
|
||||
<script>
|
||||
window.addEventListener('load', () => {
|
||||
|
|
Loading…
Reference in a new issue