aboutsummaryrefslogtreecommitdiff
path: root/lib
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
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')
-rw-r--r--lib/address.js2
-rw-r--r--lib/finance.js4
-rw-r--r--lib/lorem.js4
-rw-r--r--lib/unique.js2
4 files changed, 6 insertions, 6 deletions
diff --git a/lib/address.js b/lib/address.js
index bf295ba2..2bd883c4 100644
--- a/lib/address.js
+++ b/lib/address.js
@@ -390,7 +390,7 @@ function Address (faker) {
radius = radius || 10.0;
isMetric = isMetric || false;
- // TODO: implement either a gaussian/uniform distribution of points in cicular region.
+ // TODO: implement either a gaussian/uniform distribution of points in circular region.
// Possibly include param to function that allows user to choose between distributions.
// This approach will likely result in a higher density of points near the center.
diff --git a/lib/finance.js b/lib/finance.js
index e04729b1..b049c40b 100644
--- a/lib/finance.js
+++ b/lib/finance.js
@@ -174,7 +174,7 @@ var Finance = function (faker) {
var address = faker.random.arrayElement(['1', '3']);
for (var i = 0; i < addressLength - 1; i++)
- address += faker.random.arrayElement('123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ'.split(''));
+ address += faker.random.arrayElement('123456789abcdefghijkmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'.split(''));
return address;
}
@@ -190,7 +190,7 @@ self.litecoinAddress = function () {
var address = faker.random.arrayElement(['L', 'M', '3']);
for (var i = 0; i < addressLength - 1; i++)
- address += faker.random.arrayElement('123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ'.split(''));
+ address += faker.random.arrayElement('123456789abcdefghijkmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'.split(''));
return address;
}
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) {
diff --git a/lib/unique.js b/lib/unique.js
index 70d038fa..10b02bd5 100644
--- a/lib/unique.js
+++ b/lib/unique.js
@@ -10,7 +10,7 @@ function Unique (faker) {
// maximum time unique.exec will attempt to run before aborting
var maxTime = 10;
- // maximum retries unique.exec will recurse before abortings ( max loop depth )
+ // maximum retries unique.exec will recurse before aborting ( max loop depth )
var maxRetries = 10;
// time the script started