From 48196a7a8d4aa10774792bc4c06a3e0472a06ef2 Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Mon, 19 Nov 2012 20:46:29 -0500 Subject: [PATCH] Start osmChange work, be a little bit more compact --- index.html | 20 ++++++--------- js/iD/format/XML.js | 57 +++++++++++++++++++++++++------------------ js/iD/renderer/Map.js | 4 +-- 3 files changed, 42 insertions(+), 39 deletions(-) diff --git a/index.html b/index.html index 84aa0e8a8..26c95b236 100644 --- a/index.html +++ b/index.html @@ -62,12 +62,14 @@ diff --git a/js/iD/format/XML.js b/js/iD/format/XML.js index 437c5e3ee..e63592c0e 100644 --- a/js/iD/format/XML.js +++ b/js/iD/format/XML.js @@ -5,25 +5,41 @@ iD.format.XML = { } }, decode: function(s) { - return s.replace(/>/g,'>'). - replace(//g,'>').replace(/