diff options
| author | Marak <[email protected]> | 2018-10-28 15:15:51 -0400 |
|---|---|---|
| committer | Marak <[email protected]> | 2018-10-28 15:15:51 -0400 |
| commit | f631665a40ecf22258fd2d0d9b2e115ca4dd08bd (patch) | |
| tree | 7044f1719f4271529d270de65b79ebe74071b315 /lib/address.js | |
| parent | acfbf3becde772adf4f6bf63bb1897a37ebddd3a (diff) | |
| download | faker-f631665a40ecf22258fd2d0d9b2e115ca4dd08bd.tar.xz faker-f631665a40ecf22258fd2d0d9b2e115ca4dd08bd.zip | |
[api] [minor] Remove reference to `this`
Diffstat (limited to 'lib/address.js')
| -rw-r--r-- | lib/address.js | 2 |
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; |
