From e296d6bc8b28c9c3ab2f7b27b3e95f7f8118e847 Mon Sep 17 00:00:00 2001 From: Jan Alonzo Date: Tue, 1 Mar 2016 11:46:37 +1100 Subject: [PATCH] Fix reference in exampleEmail --- lib/internet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internet.js b/lib/internet.js index 980703af9..2089e00eb 100644 --- a/lib/internet.js +++ b/lib/internet.js @@ -40,7 +40,7 @@ var Internet = function (faker) { }; self.exampleEmail = function (firstName, lastName) { var provider = faker.random.arrayElement(faker.definitions.internet.example_email); - return this.email(firstName, lastName, provider); + return self.email(firstName, lastName, provider); }; self.userName = function (firstName, lastName) {