Browse Source

Cleanup the label generation code just a bit

pull/426/head
Diana Shkolnikov 9 years ago committed by Julian Simioni
parent
commit
b8ab7c00f7
  1. 2
      helper/labelGenerator.js

2
helper/labelGenerator.js

@ -1,4 +1,3 @@
var _ = require('lodash'),
schemas = require('./labelSchema');
@ -11,7 +10,6 @@ module.exports = function( record ){
var valueFunction = schema[key];
labelParts = valueFunction(record, labelParts);
}
// NOTE: while it may seem odd to call `uniq` on the list of label parts,

Loading…
Cancel
Save