forked from 0x2620/oxjs
update geo module
This commit is contained in:
parent
1b2a7a0eed
commit
2adceb1f39
38 changed files with 836 additions and 73 deletions
|
|
@ -113,7 +113,8 @@ Ox.load.Geo = function(options, callback) {
|
|||
geoname = geoname.replace(' - United Arab Emirates', ', United Arab Emirates')
|
||||
return Ox.getCountryByName(
|
||||
geoname.split(', ').pop()
|
||||
.replace('Sint Eustatius', 'Bonaire, Sint Eustatius')
|
||||
.replace('Sint Eustatius and Saba', 'Bonaire, Sint Eustatius and Saba')
|
||||
.replace('Ascension and Tristan da Cunha', 'Saint Helena, Ascension and Tristan da Cunha')
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue