Themes: first version of circular economy theme

This commit is contained in:
Pieter Vander Vennet 2024-07-27 02:18:58 +02:00
parent 3acba29198
commit 592be68f09
20 changed files with 1917 additions and 11 deletions

View file

@ -630,7 +630,13 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
for (const key in source) {
if (key.startsWith("=")) {
const trimmedKey = key.substr(1)
const trimmedKey = key.substring(1)
target[trimmedKey] = source[key]
continue
}
if (key.endsWith("=")) {
const trimmedKey = key.substring(0, key.length - 1)
target[trimmedKey] = source[key]
continue
}