Fix style

This commit is contained in:
Raul Ochoa 2016-05-23 18:36:03 +02:00
parent 7ad8a99373
commit a8fdd6726e

View File

@ -140,13 +140,15 @@ NamedMapMapConfigProvider.prototype.getMapConfig = function(callback) {
assert.ifError(err);
var next = this;
context.analysesResults = self.analysesResults;
self.overviewsAdapter.getMapConfig(self.owner, _mapConfig, rendererParams, context, function(err, _mapConfig) {
if (err) {
return next(err);
}
self.overviewsAdapter.getMapConfig(self.owner, _mapConfig, rendererParams, context,
function(err, _mapConfig) {
if (err) {
return next(err);
}
return next(null, _mapConfig, datasource);
});
return next(null, _mapConfig, datasource);
}
);
},
function parseTurboCarto(err, _mapConfig, datasource) {
assert.ifError(err);