Fix minor linting errors in modules/actions

This commit is contained in:
Kushan Joshi
2016-06-14 18:52:48 +05:30
parent 092e7be197
commit ff1ee79f6e
16 changed files with 16 additions and 16 deletions

View File

@@ -2,4 +2,4 @@ export function AddEntity(way) {
return function(graph) {
return graph.replace(way);
};
};
}

View File

@@ -26,4 +26,4 @@ export function AddMember(relationId, member, memberIndex) {
return graph.replace(relation.addMember(member, memberIndex));
};
};
}

View File

@@ -20,4 +20,4 @@ export function AddMidpoint(midpoint, node) {
return graph;
};
};
}

View File

@@ -3,4 +3,4 @@ export function AddVertex(wayId, nodeId, index) {
return function(graph) {
return graph.replace(graph.entity(wayId).addNode(nodeId, index));
};
};
}

View File

@@ -2,4 +2,4 @@ export function ChangeMember(relationId, member, memberIndex) {
return function(graph) {
return graph.replace(graph.entity(relationId).updateMember(member, memberIndex));
};
};
}

View File

@@ -9,4 +9,4 @@ export function ChangePreset(entityId, oldPreset, newPreset) {
return graph.replace(entity.update({tags: tags}));
};
};
}

View File

@@ -3,4 +3,4 @@ export function ChangeTags(entityId, tags) {
var entity = graph.entity(entityId);
return graph.replace(entity.update({tags: tags}));
};
};
}

View File

@@ -180,4 +180,4 @@ export function Circularize(wayId, projection, maxAngle) {
};
return action;
};
}

View File

@@ -41,4 +41,4 @@ export function Connect(nodeIds) {
return graph;
};
};
}

View File

@@ -18,4 +18,4 @@ export function CopyEntities(ids, fromGraph) {
};
return action;
};
}

View File

@@ -12,4 +12,4 @@ export function DeleteMember(relationId, memberIndex) {
return graph;
};
};
}

View File

@@ -28,4 +28,4 @@ export function DeleteMultiple(ids) {
};
return action;
};
}

View File

@@ -34,4 +34,4 @@ export function DeleteNode(nodeId) {
};
return action;
};
}

View File

@@ -48,4 +48,4 @@ export function DeleteWay(wayId) {
};
return action;
};
}

View File

@@ -254,4 +254,4 @@ export function MergeRemoteChanges(id, localGraph, remoteGraph, formatUser) {
};
return action;
};
}

View File

@@ -276,4 +276,4 @@ export function Move(moveIds, tryDelta, projection, cache) {
};
return action;
};
}