mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-19 17:43:39 +00: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');
|
|
};
|
|
};
|