diff options
| author | Marak <[email protected]> | 2016-03-20 21:08:59 -0400 |
|---|---|---|
| committer | Marak <[email protected]> | 2016-03-20 21:08:59 -0400 |
| commit | 5993a8a8a471638c2af9a52eab6155bcde366d7e (patch) | |
| tree | 6a344248450e9d96a625b76c00cb98953f9e164d | |
| parent | 6ad373595dc372f9e227d0fb3ac81c56742a0c7e (diff) | |
| parent | f596d0470f43f5954fc72185d3fe32ff9d243ff2 (diff) | |
| download | faker-5993a8a8a471638c2af9a52eab6155bcde366d7e.tar.xz faker-5993a8a8a471638c2af9a52eab6155bcde366d7e.zip | |
Merge pull request #291 from skylarstein/master
[fix] hacker.phrase - generate random string for each lexical instance
| -rw-r--r-- | lib/hacker.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/hacker.js b/lib/hacker.js index c87a8d28..18fe7de5 100644 --- a/lib/hacker.js +++ b/lib/hacker.js @@ -58,11 +58,11 @@ var Hacker = function (faker) { self.phrase = function () { var data = { - abbreviation: self.abbreviation(), - adjective: self.adjective(), - ingverb: self.ingverb(), - noun: self.noun(), - verb: self.verb() + abbreviation: self.abbreviation, + adjective: self.adjective, + ingverb: self.ingverb, + noun: self.noun, + verb: self.verb }; var phrase = faker.random.arrayElement([ "If we {{verb}} the {{noun}}, we can get to the {{abbreviation}} {{noun}} through the {{adjective}} {{abbreviation}} {{noun}}!", |
