Build scenarios from data in SVG files

This commit is contained in:
2024-07-12 18:27:18 -07:00
parent 9c537765ae
commit 5465a0741a
11 changed files with 324 additions and 659 deletions

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" standalone="yes"?>
<?xml version="1.0" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-10 -10 200 300">
<g class="gameboard">
<g class="grid">

Before

Width:  |  Height:  |  Size: 992 B

After

Width:  |  Height:  |  Size: 991 B

View File

@@ -88,5 +88,5 @@ global.selectCounter = function (counter) {
}
global.svgDocument = function (document) {
return `<?xml version="1.0" standalone="yes"?>\n` + document.querySelector('svg').outerHTML;
return `<?xml version="1.0" standalone="no"?>\n` + document.querySelector('svg').outerHTML;
}