forked from MapComplete/MapComplete
Refactoring: change order of parameters and remove parameter for Conversion.ts
This commit is contained in:
parent
49fc8e4bcf
commit
72e06448fc
20 changed files with 147 additions and 213 deletions
|
|
@ -11,9 +11,8 @@ export class UpdateLegacyLayer extends DesugaringStep<
|
|||
> {
|
||||
constructor() {
|
||||
super(
|
||||
"UpdateLegacyLayer",
|
||||
"Updates various attributes from the old data format to the new to provide backwards compatibility with the formats",
|
||||
["overpassTags", "source.osmtags", "tagRenderings[*].id", "mapRendering"],
|
||||
"UpdateLegacyLayer"
|
||||
)
|
||||
}
|
||||
|
||||
|
|
@ -259,7 +258,7 @@ export class UpdateLegacyLayer extends DesugaringStep<
|
|||
|
||||
class UpdateLegacyTheme extends DesugaringStep<ThemeConfigJson> {
|
||||
constructor() {
|
||||
super("Small fixes in the theme config", ["roamingRenderings"], "UpdateLegacyTheme")
|
||||
super("UpdateLegacyTheme", "Small fixes in the theme config")
|
||||
}
|
||||
|
||||
convert(json: ThemeConfigJson, context: ConversionContext): ThemeConfigJson {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue