Initial React project

This commit is contained in:
Johan
2026-03-23 07:49:45 +01:00
parent 8d33465f51
commit e204032b56
1353 changed files with 23853 additions and 50282 deletions

View File

@@ -75,15 +75,7 @@ class MapGenerator {
}
}
} else if (this.css) {
let startIndex
while ((startIndex = this.css.lastIndexOf('/*#')) !== -1) {
let endIndex = this.css.indexOf('*/', startIndex + 3)
if (endIndex === -1) break
while (startIndex > 0 && this.css[startIndex - 1] === '\n') {
startIndex--
}
this.css = this.css.slice(0, startIndex) + this.css.slice(endIndex + 2)
}
this.css = this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm, '')
}
}