Отформатировал JS с пробелов на табы

This commit is contained in:
Krivchikov Dmitry 2014-05-03 22:44:05 +04:00
parent 4b4514d559
commit 202a2ffb47
1 changed files with 207 additions and 208 deletions

View File

@ -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) {
}
); );
} }