20 Commits (6fc5a19461b112a9da020f91755884fd659f9ab2)

Author SHA1 Message Date
Stephen Hess a090a1e71a updated comment 9 years ago
Stephen Hess 1b83247964 exclude `name` for `country` result labels 9 years ago
Stephen Hess 9cdfce13c1 fixed extraneous comma labels for results with only a `name` 9 years ago
Stephen Hess 8d0b0e8780 switched to `_.compact` to remove `undefined` values 9 years ago
Stephen Hess 0870e30366 Refactored the label generation code to be simpler 9 years ago
Stephen Hess 5b934b27c3 removed debug 9 years ago
Stephen Hess fd0718a699 updated labelGeneration special case so that region-specific logic only applies to US/CA 9 years ago
Diana Shkolnikov af8044ef29 Fix all unit tests 9 years ago
Diana Shkolnikov b8ab7c00f7 Cleanup the label generation code just a bit 9 years ago
Stephen Hess 0f6059c05a Refactored to use a function for looking up value for a label 9 years ago
Stephen Hess 431fe44f05 converted labelSchema to .js with module.exports 9 years ago
Stephen Hess 7b5b9dee61 added comments illustrating the subtleties of label generation 9 years ago
Stephen Hess 5456632cdf Added flag to not include `default.name` in label 9 years ago
Stephen Hess 3e8d1bfd9b broke country-specific label tests out to own file for easier testing 9 years ago
Stephen Hess 515d4aeb94 extracted `getSchema` helper method 9 years ago
Julian Simioni 769f190eab Replace depricated Lodash function unique with uniq 9 years ago
Julian Simioni cb7b38bc75 Replace check-types depricated unemptyString with nonEmptyString 9 years ago
Julian Simioni f4a5dd812b Replace depricated Lodash function contains with includes 9 years ago
Peter Johnson 3a54a8b32f fix label issues 9 years ago
Peter Johnson 2b9c3d79aa rename outputGenerator -> labelGenerator 9 years ago
Diana Shkolnikov 1b4b401a66 More property renaming/mapping 9 years ago
Harish Krishna 69a13e9105 fixing all the js lint related issues (lintified) 10 years ago
Peter Johnson 27e2c4e5b8 migrate outputGenerator from pelias/suggester-pipeline 10 years ago