mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-21 19:26:41 +02:00
3e45afbc5e
Actions are too low-level for annotations.
7 lines
217 B
JavaScript
7 lines
217 B
JavaScript
// https://github.com/openstreetmap/josm/blob/mirror/src/org/openstreetmap/josm/command/AddCommand.java
|
|
iD.actions.AddNode = function(node) {
|
|
return function(graph) {
|
|
return graph.replace(node);
|
|
};
|
|
};
|