Only use console output if debug option is present
This commit is contained in:
parent
bf6537071a
commit
74d807a3ae
@ -202,7 +202,7 @@ CartoCSS.prototype = {
|
||||
layer.frames = [];
|
||||
layer.zoom = tree.Zoom.all;
|
||||
var props = def.toJS(parse_env);
|
||||
console.log("props", props);
|
||||
if (this.options.debug) console.log("props", props);
|
||||
for(var v in props) {
|
||||
var lyr = layer[v] = layer[v] || {
|
||||
constant: false,
|
||||
@ -221,7 +221,7 @@ CartoCSS.prototype = {
|
||||
}
|
||||
|
||||
var ordered_layers = [];
|
||||
console.log(layers);
|
||||
if (this.options.debug) console.log(layers);
|
||||
|
||||
var done = {};
|
||||
for(var i = 0; i < defs.length; ++i) {
|
||||
|
Loading…
Reference in New Issue
Block a user