mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-16 17:31:24 +01:00
De-modulized script.js
This commit is contained in:
parent
ff3c70c179
commit
3471cfd271
2 changed files with 3 additions and 4 deletions
|
|
@ -31,8 +31,8 @@
|
|||
<script src="libs/polylabel.min.js"></script>
|
||||
<script src="libs/quantize.min.js" defer></script>
|
||||
<script src="libs/jquery.ui.touch-punch.min.js" defer></script>
|
||||
<link rel="stylesheet" type="text/css" href="index.css?version=0.60.05b"/>
|
||||
<link rel="stylesheet" type="text/css" href="icons.css?version=0.60.05b"/>
|
||||
<link rel="stylesheet" type="text/css" href="index.css?version=0.60.06b"/>
|
||||
<link rel="stylesheet" type="text/css" href="icons.css?version=0.60.06b"/>
|
||||
<link rel="stylesheet" type="text/css" href="libs/jquery-ui.css"/>
|
||||
</head>
|
||||
<body>
|
||||
|
|
@ -1288,5 +1288,5 @@
|
|||
<input type="file" accept=".txt" id="namesbaseToLoad">
|
||||
</div>
|
||||
|
||||
<script type="module" src="script.js?version=0.60.05b"></script>
|
||||
<script src="script.js?version=0.60.06b"></script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -6666,7 +6666,6 @@ function fantasyMap() {
|
|||
// Code from Kaiido's answer:
|
||||
// https://stackoverflow.com/questions/42402584/how-to-use-google-fonts-in-canvas-when-drawing-dom-objects-in-svg
|
||||
function GFontToDataURI(url) {
|
||||
"use strict";
|
||||
return fetch(url) // first fecth the embed stylesheet page
|
||||
.then(resp => resp.text()) // we only need the text of it
|
||||
.then(text => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue