aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslomo <steve.harrison@gmx.net>2011-01-28 22:11:05 +0100
committerslomo <steve.harrison@gmx.net>2011-01-28 22:11:05 +0100
commit7b61c816cb457b7ab4127ffbe80ac371d874cc22 (patch)
tree5dc1630dc87384603dc12edbb675b04ca573afe9
parentdd8415cc058f943d17712a2a5230d78578cb8485 (diff)
parent3d6d59b6886709f95445795e5b082d14e7e49239 (diff)
downloadosm-xapi-7b61c816cb457b7ab4127ffbe80ac371d874cc22.tar.gz
osm-xapi-7b61c816cb457b7ab4127ffbe80ac371d874cc22.tar.xz
osm-xapi-7b61c816cb457b7ab4127ffbe80ac371d874cc22.zip
Merge branch 'master' of github.com:slomo/osm-spline-xapi
-rw-r--r--src/nodejs/main.js6
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++;
}