Freeze loc

This commit is contained in:
John Firebaugh
2013-01-23 10:05:14 -05:00
parent 29d608970b
commit 8e92fffa1a

View File

@@ -50,6 +50,7 @@ iD.Entity.prototype = {
Object.freeze(this);
Object.freeze(this.tags);
if (this.loc) Object.freeze(this.loc);
if (this.nodes) Object.freeze(this.nodes);
if (this.members) Object.freeze(this.members);
}