aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarak <[email protected]>2014-09-09 01:30:55 +0200
committerMarak <[email protected]>2014-09-09 01:30:55 +0200
commitfd95d87121efbd7aa2098ffa1b414c966c94b01b (patch)
treebcbe3f963639d6fc03076e8d392c3744db7b4983 /lib
parentfa8267f2ce1a41a2684f10c5e2109faff837a0f9 (diff)
downloadfaker-fd95d87121efbd7aa2098ffa1b414c966c94b01b.tar.xz
faker-fd95d87121efbd7aa2098ffa1b414c966c94b01b.zip
Remove this scope from new phone codes
Diffstat (limited to 'lib')
-rw-r--r--lib/random.js2
1 files changed, 1 insertions, 1 deletions
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);