Skip to content
This repository was archived by the owner on May 24, 2021. It is now read-only.

Commit 090b17b

Browse files
committed
Make config options in docs clear that specificity’s default is a string.
1 parent e9a7a19 commit 090b17b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# User Location
1+
# UserLocation
22

33
A simple library to get the current user's location, with an optional fallback method of obtaining their coordinates.
44

@@ -88,7 +88,7 @@ var location = new UserLocation({
8888
|-------------|----------------|---------|------------------------------------------------------------------------------------------------------|
8989
| cacheTtl | number | 604800 | Cache time-to-live in seconds. (Default is 7 days.) |
9090
| fallback | boolean/string | false | Method of obtaining coordinates if initial try fails. Possible values: false, 'general', or 'exact'. |
91-
| specificity | string | general | Initial method of obtaining coordinates. Possible values: 'general' or 'exact'. | |
91+
| specificity | string | 'general' | Initial method of obtaining coordinates. Possible values: 'general' or 'exact'. | |
9292

9393
### Return
9494

0 commit comments

Comments
 (0)