forked from MapComplete/MapComplete
Chore: formatting
This commit is contained in:
parent
35eff07c80
commit
c08fe03ed0
422 changed files with 31594 additions and 43019 deletions
|
|
@ -20,8 +20,13 @@ export default class LineRenderingConfig extends WithContextLoader {
|
|||
this.color = this.tr("color", "#0000ff")
|
||||
this.width = this.tr("width", "7")
|
||||
this.dashArray = json.dashArray
|
||||
if(this.dashArray !== undefined && typeof this.dashArray !== "string"){
|
||||
throw "Invalid dasharray at "+context+"; this should be a string but is a "+typeof this.dashArray
|
||||
if (this.dashArray !== undefined && typeof this.dashArray !== "string") {
|
||||
throw (
|
||||
"Invalid dasharray at " +
|
||||
context +
|
||||
"; this should be a string but is a " +
|
||||
typeof this.dashArray
|
||||
)
|
||||
}
|
||||
this.lineCap = this.tr("lineCap", "round")
|
||||
this.fill = this.tr("fill", undefined)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue