Update initialize to not use parallel().
This commit is contained in:
parent
fe8c5d2ec7
commit
a4f2d4af00
@ -109,7 +109,10 @@ carto.Renderer = function Renderer(env) {
|
||||
});
|
||||
// Continue even if we don't have any layers.
|
||||
group()();
|
||||
}, callback);
|
||||
},
|
||||
function(err) {
|
||||
callback(err, m);
|
||||
});
|
||||
},
|
||||
|
||||
// Download any remote stylesheets
|
||||
@ -135,7 +138,10 @@ carto.Renderer = function Renderer(env) {
|
||||
});
|
||||
});
|
||||
group()();
|
||||
}, callback);
|
||||
},
|
||||
function(err) {
|
||||
callback(err, m);
|
||||
});
|
||||
},
|
||||
|
||||
// Compile (already downloaded) styles with carto,
|
||||
@ -438,10 +444,13 @@ carto.Renderer = function Renderer(env) {
|
||||
|
||||
Step(function() {
|
||||
localizingTime = +new Date();
|
||||
that.localizeExternals(m, this.parallel());
|
||||
that.localizeStyle(m, this.parallel());
|
||||
that.localizeExternals(m, this);
|
||||
},
|
||||
function(err) {
|
||||
function(err, m) {
|
||||
if (err) throw err;
|
||||
that.localizeStyle(m, this);
|
||||
},
|
||||
function(err, m) {
|
||||
if (err) throw err;
|
||||
that.ensureSRS(m, this);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user