aboutsummaryrefslogtreecommitdiff
path: root/lib/lorem.js
diff options
context:
space:
mode:
authorMarak <[email protected]>2021-10-19 14:53:16 -0400
committerGitHub <[email protected]>2021-10-19 14:53:16 -0400
commit29234378807c4141588861f69421bf20b5ac635e (patch)
treed44314518a7c801a546c49334c86fbd357b6142b /lib/lorem.js
parent282aae9e913861cd12e41e3a569f462143bf8ee5 (diff)
parent6669bcd6e3b8008fac786d54c5ccfc4fefa74769 (diff)
downloadfaker-6.0.0-alpha.0.tar.xz
faker-6.0.0-alpha.0.zip
Merge pull request #1217 from jsoref/spelling6.0.0-alpha.0
Spelling
Diffstat (limited to 'lib/lorem.js')
-rw-r--r--lib/lorem.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lorem.js b/lib/lorem.js
index a6d7219f..0569e866 100644
--- a/lib/lorem.js
+++ b/lib/lorem.js
@@ -50,7 +50,7 @@ var Lorem = function (faker) {
if (typeof wordCount == 'undefined') { wordCount = faker.datatype.number({ min: 3, max: 10 }); }
// if (typeof range == 'undefined') { range = 7; }
- // strange issue with the node_min_test failing for captialize, please fix and add faker.lorem.back
+ // strange issue with the node_min_test failing for capitalize, please fix and add faker.lorem.back
//return faker.lorem.words(wordCount + Helpers.randomNumber(range)).join(' ').capitalize();
var sentence = faker.lorem.words(wordCount);
@@ -72,7 +72,7 @@ var Lorem = function (faker) {
* sentences
*
* @method faker.lorem.sentences
- * @param {number} sentenceCount defautls to a random number between 2 and 6
+ * @param {number} sentenceCount defaults to a random number between 2 and 6
* @param {string} separator defaults to `' '`
*/
self.sentences = function (sentenceCount, separator) {