forked from 0x2620/oxjs
update geo module
This commit is contained in:
parent
21b505b4c8
commit
1503901e81
39 changed files with 3945 additions and 1685 deletions
|
|
@ -99,11 +99,15 @@
|
|||
JSON.stringify(json, null, 4)
|
||||
);
|
||||
window.status = json.length + '/' + countries.length + ' ' + country.name;
|
||||
Ox.print(logs);
|
||||
if (countries.length) {
|
||||
setTimeout(callGetData, timeout);
|
||||
} else {
|
||||
alert('Done');
|
||||
if (logs.length) {
|
||||
Ox.print('Errors:', logs);
|
||||
alert('Done, see console for errors.');
|
||||
} else {
|
||||
alert('Done, no errors.');
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue