From 1307d20426fbb2fcdaa5451a2f91f3d6ef19e702 Mon Sep 17 00:00:00 2001 From: Pat Tullmann Date: Mon, 14 Sep 2015 08:59:54 -0700 Subject: No space before citySuffix in city name The citySuffix is a real word suffix (like "ton" or "burgh") so there should not be whitespace before it. (The cityPrefix is a separate word (like "Lake" or "North"), so still needs whitespace. --- lib/address.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/address.js b/lib/address.js index 35031a63..e72a2aa8 100644 --- a/lib/address.js +++ b/lib/address.js @@ -17,10 +17,10 @@ function Address (faker) { this.city = function (format) { var formats = [ - '{{address.cityPrefix}} {{name.firstName}} {{address.citySuffix}}', + '{{address.cityPrefix}} {{name.firstName}}{{address.citySuffix}}', '{{address.cityPrefix}} {{name.firstName}}', - '{{name.firstName}} {{address.citySuffix}}', - '{{name.lastName}} {{address.citySuffix}}' + '{{name.firstName}}{{address.citySuffix}}', + '{{name.lastName}}{{address.citySuffix}}' ]; if (typeof format !== "number") { -- cgit v1.2.3