mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
Fix minor linting errors in modules/actions
This commit is contained in:
@@ -2,4 +2,4 @@ export function AddEntity(way) {
|
||||
return function(graph) {
|
||||
return graph.replace(way);
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -26,4 +26,4 @@ export function AddMember(relationId, member, memberIndex) {
|
||||
|
||||
return graph.replace(relation.addMember(member, memberIndex));
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -20,4 +20,4 @@ export function AddMidpoint(midpoint, node) {
|
||||
|
||||
return graph;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@ export function AddVertex(wayId, nodeId, index) {
|
||||
return function(graph) {
|
||||
return graph.replace(graph.entity(wayId).addNode(nodeId, index));
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,4 +2,4 @@ export function ChangeMember(relationId, member, memberIndex) {
|
||||
return function(graph) {
|
||||
return graph.replace(graph.entity(relationId).updateMember(member, memberIndex));
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -9,4 +9,4 @@ export function ChangePreset(entityId, oldPreset, newPreset) {
|
||||
|
||||
return graph.replace(entity.update({tags: tags}));
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@ export function ChangeTags(entityId, tags) {
|
||||
var entity = graph.entity(entityId);
|
||||
return graph.replace(entity.update({tags: tags}));
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -180,4 +180,4 @@ export function Circularize(wayId, projection, maxAngle) {
|
||||
};
|
||||
|
||||
return action;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -41,4 +41,4 @@ export function Connect(nodeIds) {
|
||||
|
||||
return graph;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -18,4 +18,4 @@ export function CopyEntities(ids, fromGraph) {
|
||||
};
|
||||
|
||||
return action;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -12,4 +12,4 @@ export function DeleteMember(relationId, memberIndex) {
|
||||
|
||||
return graph;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -28,4 +28,4 @@ export function DeleteMultiple(ids) {
|
||||
};
|
||||
|
||||
return action;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -34,4 +34,4 @@ export function DeleteNode(nodeId) {
|
||||
};
|
||||
|
||||
return action;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -48,4 +48,4 @@ export function DeleteWay(wayId) {
|
||||
};
|
||||
|
||||
return action;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -254,4 +254,4 @@ export function MergeRemoteChanges(id, localGraph, remoteGraph, formatUser) {
|
||||
};
|
||||
|
||||
return action;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -276,4 +276,4 @@ export function Move(moveIds, tryDelta, projection, cache) {
|
||||
};
|
||||
|
||||
return action;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user