mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-21 15:56:56 +02:00
Enable curly and block-spacing eslint rules
This commit is contained in:
@@ -213,8 +213,9 @@ export function coreDifference(base, head) {
|
||||
|
||||
if (extent &&
|
||||
(!h || !h.intersects(extent, head)) &&
|
||||
(!b || !b.intersects(extent, base)))
|
||||
(!b || !b.intersects(extent, base))) {
|
||||
continue;
|
||||
}
|
||||
|
||||
result[id] = h;
|
||||
|
||||
|
||||
@@ -143,8 +143,7 @@ coreGraph.prototype = {
|
||||
for (i = 0; i < entities.length; i++) {
|
||||
var entity = entities[i];
|
||||
|
||||
if (!entity.visible || (!force && base.entities[entity.id]))
|
||||
continue;
|
||||
if (!entity.visible || (!force && base.entities[entity.id])) continue;
|
||||
|
||||
// Merging data into the base graph
|
||||
base.entities[entity.id] = entity;
|
||||
|
||||
Reference in New Issue
Block a user