Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | 1x 1x 22x 22x 1x 1x 11x 11x 11x 10x 10x 10x 11x 1x 1x 11x 11x 11x 1x 1x 2x 2x 1x 1x 1x 1x 1x 1x 4x 4x 4x 4x 4x 1x 1x 5x 5x 1x 1x 5x 5x 1x 1x 4x 4x 1x 1x 4x 4x 1x 1x 6x 6x 1x 1x 6x 6x 1x 1x 4x 4x 1x | export class Company {
constructor(pure) {
this.pure = pure;
}
companyName(format) {
let res;
if (typeof format !== 'string') {
res = this.pure.fake.parse(
this.pure.random.arrayElement(this.pure.registeredModules.company.name)
);
} else {
res = this.pure.fake.parse(format);
}
return res;
}
companySuffix() {
return this.pure.random.arrayElement(this.pure.registeredModules.company.suffix);
}
companyPrefix() {
return this.pure.random.arrayElement(this.pure.registeredModules.company.prefix);
}
catchPhrase() {
return (
`${this.pure.company.catchPhraseAdjective()} ${this.pure.company.catchPhraseDescriptor()}` +
` ${this.pure.company.catchPhraseNoun()}`
);
}
catchPhraseAdjective() {
return this.pure.random.arrayElement(this.pure.registeredModules.company.adjective);
}
catchPhraseDescriptor() {
return this.pure.random.arrayElement(this.pure.registeredModules.company.descriptor);
}
catchPhraseNoun() {
return this.pure.random.arrayElement(this.pure.registeredModules.company.noun);
}
bs() {
return `${this.pure.company.bsBuzz()} ${this.pure.company.bsAdjective()} ${this.pure.company.bsNoun()}`;
}
bsAdjective() {
return this.pure.random.arrayElement(this.pure.registeredModules.company.bsAdjective);
}
bsBuzz() {
return this.pure.random.arrayElement(this.pure.registeredModules.company.bsVerb);
}
bsNoun() {
return this.pure.random.arrayElement(this.pure.registeredModules.company.bsNoun);
}
}
|