From fd95d87121efbd7aa2098ffa1b414c966c94b01b Mon Sep 17 00:00:00 2001 From: Marak Date: Tue, 9 Sep 2014 01:30:55 +0200 Subject: Remove this scope from new phone codes --- lib/random.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/random.js b/lib/random.js index c7386733..78ef2383 100644 --- a/lib/random.js +++ b/lib/random.js @@ -98,7 +98,7 @@ var random = { }, phone_codes: function () { - return this.array_element(definitions.phone_codes); + return faker.array_element(definitions.phone_codes); }, domain_suffix: function () { return faker.random.array_element(definitions.domain_suffix); -- cgit v1.2.3