mirror of
https://github.com/umap-project/umap.git
synced 2025-05-05 14:01:50 +02:00
chore: fix Biome no-delete rule with comments
This commit is contained in:
parent
ec645fb6e6
commit
f598c4674d
1 changed files with 2 additions and 2 deletions
|
@ -400,7 +400,7 @@ U.FeatureMixin = {
|
|||
const properties = L.extend({}, this.properties)
|
||||
properties._umap_options = L.extend({}, properties._umap_options)
|
||||
if (Object.keys && Object.keys(properties._umap_options).length === 0) {
|
||||
properties._umap_options // It can make a difference on big data sets = undefined // It can make a difference on big data sets
|
||||
properties._umap_options = undefined // It can make a difference on big data sets
|
||||
}
|
||||
return properties
|
||||
},
|
||||
|
@ -1178,7 +1178,7 @@ U.Polyline = L.Polyline.extend({
|
|||
U.Utils.flattenCoordinates(geojson.geometry.coordinates),
|
||||
]
|
||||
|
||||
geojson.id // delete the copied id, a new one will be generated. = undefined // delete the copied id, a new one will be generated.
|
||||
geojson.id = undefined // delete the copied id, a new one will be generated.
|
||||
|
||||
const polygon = this.datalayer.geojsonToFeatures(geojson)
|
||||
polygon.edit()
|
||||
|
|
Loading…
Reference in a new issue