mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-14 09:42:56 +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');
|
|
};
|
|
};
|