diff options
-rw-r--r-- | src/nodejs/main.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nodejs/main.js b/src/nodejs/main.js index 1c01b78..ce4518d 100644 --- a/src/nodejs/main.js +++ b/src/nodejs/main.js @@ -81,7 +81,7 @@ function rowToWay(row){ // #################### MAY be put to different module later -// #################### my little clutch replacments +// #################### my little clutch replacments var urlToXpathObj = function urlToXpathObj(url){ @@ -112,7 +112,7 @@ var urlToXpathObj = function urlToXpathObj(url){ 'right' : result[2]; 'top' : result[3]; } - + var xp = {}; result = /\/(*|node|way|relation)(:?\[(.*)=(.*)\])*/.exec(url); @@ -125,7 +125,7 @@ var urlToXpathObj = function urlToXpathObj(url){ } else { xp.tag ={}; xp.tag.keys = parseKeyList(result[i]); - xp.tag.values = parseKeyList(result[i+1]); + xp.tag.values = parseKeyList(result[i+1]); } i++; } |