From 5b934b27c30b86e0fa6960f60bd0b9b8b5ad1abb Mon Sep 17 00:00:00 2001 From: Stephen Hess Date: Fri, 18 Mar 2016 13:37:24 -0400 Subject: [PATCH] removed debug --- helper/labelGenerator.js | 2 -- helper/labelSchema.js | 5 ----- 2 files changed, 7 deletions(-) diff --git a/helper/labelGenerator.js b/helper/labelGenerator.js index 967a34c1..0f0eb9dd 100644 --- a/helper/labelGenerator.js +++ b/helper/labelGenerator.js @@ -4,8 +4,6 @@ var _ = require('lodash'), module.exports = function( record ){ var schema = getSchema(record.country_a); - console.log(schema); - var labelParts = getInitialLabel(record); for (var key in schema) { diff --git a/helper/labelSchema.js b/helper/labelSchema.js index 56161856..5d3eba5d 100644 --- a/helper/labelSchema.js +++ b/helper/labelSchema.js @@ -28,15 +28,10 @@ module.exports = { // find the first field of record that has a non-empty value that's not already in labelParts function getFirstProperty(fields) { return function(record, labelParts) { - console.log(record); - console.log(); - for (var i = 0; i < fields.length; i++) { - console.log('considering ' + fields[i]); var fieldValue = record[fields[i]]; if (check.nonEmptyString(fieldValue) && !_.includes(labelParts, fieldValue)) { - console.log('adding ' + fields[i] + ' value: ' + fieldValue); labelParts.push( fieldValue ); return labelParts; }