Merge pull request #3 from CartoDB/console-output-on-debug-only
Only use console output if debug option is present
This commit is contained in:
commit
12d1b1a4fe
@ -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