diff options
author | slomo <steve.harrison@gmx.net> | 2011-01-28 22:11:05 +0100 |
---|---|---|
committer | slomo <steve.harrison@gmx.net> | 2011-01-28 22:11:05 +0100 |
commit | 7b61c816cb457b7ab4127ffbe80ac371d874cc22 (patch) | |
tree | 5dc1630dc87384603dc12edbb675b04ca573afe9 /src | |
parent | dd8415cc058f943d17712a2a5230d78578cb8485 (diff) | |
parent | 3d6d59b6886709f95445795e5b082d14e7e49239 (diff) | |
download | osm-xapi-7b61c816cb457b7ab4127ffbe80ac371d874cc22.tar.gz osm-xapi-7b61c816cb457b7ab4127ffbe80ac371d874cc22.tar.xz osm-xapi-7b61c816cb457b7ab4127ffbe80ac371d874cc22.zip |
Merge branch 'master' of github.com:slomo/osm-spline-xapi
Diffstat (limited to '')
-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++; } |