mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-24 00:54:03 +02:00
Make build-safe
This commit is contained in:
+2
-1
@@ -68,6 +68,7 @@ iD.Connection = function() {
|
||||
delete o.lat;
|
||||
}
|
||||
o.id = iD.Entity.id.fromOSM(o.type, o.id);
|
||||
if (o.type === 'node') o._poi = !refNodes[o.id];
|
||||
return iD.Entity(o);
|
||||
}
|
||||
|
||||
@@ -76,9 +77,9 @@ iD.Connection = function() {
|
||||
var root = dom.childNodes[0];
|
||||
var entities = {};
|
||||
refNodes = {};
|
||||
|
||||
function addEntity(obj) {
|
||||
var o = objectData(obj);
|
||||
if (o.type === 'node') o._poi = !refNodes[o.id];
|
||||
entities[o.id] = o;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user