mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-21 19:26:41 +02:00
7 lines
220 B
JavaScript
7 lines
220 B
JavaScript
iD.actions.RemoveWayNode = function(way, node) {
|
|
return function(graph) {
|
|
var nodes = _.without(way.nodes, node.id);
|
|
return graph.replace(way.update({nodes: nodes}), 'removed from a road');
|
|
};
|
|
};
|