parent
ff5c235fc4
commit
de3fbe6578
|
|
@ -7,7 +7,7 @@ let location;
|
||||||
// requires the myLocation app
|
// requires the myLocation app
|
||||||
function loadLocation () {
|
function loadLocation () {
|
||||||
try {
|
try {
|
||||||
return require('Storage').readJSON(LOCATION_FILE, 1) || {};
|
return require('Storage').readJSON(LOCATION_FILE, 1);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
return { };
|
return { };
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue