Отформатировал JS с пробелов на табы
This commit is contained in:
parent
4b4514d559
commit
202a2ffb47
|
|
@ -12,9 +12,7 @@ var route = false;
|
||||||
// -------------------------------- Libs ---------------------------------------
|
// -------------------------------- Libs ---------------------------------------
|
||||||
|
|
||||||
function getURLParameter(name) {
|
function getURLParameter(name) {
|
||||||
return decodeURI(
|
return decodeURI((RegExp(name + '=' + '(.+?)(&|$)').exec(location.search) || [, null])[1]);
|
||||||
(RegExp(name + '=' + '(.+?)(&|$)').exec(location.search)||[,null])[1]
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
@ -176,7 +174,8 @@ function searchAdderess()
|
||||||
myMap.geoObjects.add(search);
|
myMap.geoObjects.add(search);
|
||||||
myMap.setCenter(res.geoObjects.get(0).geometry.getCoordinates(), 10);
|
myMap.setCenter(res.geoObjects.get(0).geometry.getCoordinates(), 10);
|
||||||
},
|
},
|
||||||
function (err) {}
|
function(err) {
|
||||||
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue