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