aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAdam Walker <[email protected]>2021-05-19 22:59:53 -0400
committerAdam Walker <[email protected]>2021-05-19 22:59:53 -0400
commitc0a172dc5d6308731fd879db2ffcddf4714370f5 (patch)
tree8e261554166973f3d60709b800f0278f513aa1b0 /lib
parent45204bec008229f5b281ca5fdff0a25aece706a5 (diff)
downloadfaker-c0a172dc5d6308731fd879db2ffcddf4714370f5.tar.xz
faker-c0a172dc5d6308731fd879db2ffcddf4714370f5.zip
Revert formatting changes to lib/index.js made by prettier
Diffstat (limited to 'lib')
-rw-r--r--lib/index.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/index.js b/lib/index.js
index aaf6c69e..ba56c77a 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -21,7 +21,7 @@
*
* @namespace faker
*/
-function Faker (opts) {
+ function Faker (opts) {
var self = this;
@@ -161,17 +161,17 @@ function Faker (opts) {
var Word = require('./word');
self.word = new Word(self);
-}
+};
Faker.prototype.setLocale = function (locale) {
this.locale = locale;
-};
+}
-Faker.prototype.seed = function (value) {
- var Random = require("./random");
- var Datatype = require("./datatype");
+Faker.prototype.seed = function(value) {
+ var Random = require('./random');
+ var Datatype = require('./datatype');
this.seedValue = value;
this.random = new Random(this, this.seedValue);
this.datatype = new Datatype(this, this.seedValue);
-};
-module["exports"] = Faker;
+}
+module['exports'] = Faker; \ No newline at end of file