aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarak <[email protected]>2018-10-28 15:15:51 -0400
committerMarak <[email protected]>2018-10-28 15:15:51 -0400
commitf631665a40ecf22258fd2d0d9b2e115ca4dd08bd (patch)
tree7044f1719f4271529d270de65b79ebe74071b315 /lib
parentacfbf3becde772adf4f6bf63bb1897a37ebddd3a (diff)
downloadfaker-f631665a40ecf22258fd2d0d9b2e115ca4dd08bd.tar.xz
faker-f631665a40ecf22258fd2d0d9b2e115ca4dd08bd.zip
[api] [minor] Remove reference to `this`
Diffstat (limited to 'lib')
-rw-r--r--lib/address.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/address.js b/lib/address.js
index e82d5d72..6ac5f9b9 100644
--- a/lib/address.js
+++ b/lib/address.js
@@ -360,7 +360,7 @@ function Address (faker) {
// If there is no coordinate, the best we can do is return a random GPS coordinate.
if (coordinate === undefined) {
- return [this.latitude(), this.longitude()]
+ return [faker.address.latitude(), faker.address.longitude()]
}
radius = radius || 10.0;
isMetric = isMetric || false;