Fix lint warnings

This commit is contained in:
Quincy Morgan
2020-04-02 11:12:10 -07:00
parent fbef31f776
commit ca3a0f9dbc
7 changed files with 13 additions and 9 deletions
+3 -1
View File
@@ -70,7 +70,9 @@ export function uiImproveOsmComments() {
.append('p')
.text(d => d.text);
})
.catch(err => {}); // TODO: Handle failed json request gracefully in some way
.catch(err => {
console.log(err); // eslint-disable-line no-console
});
}
function localeDateString(s) {
+3 -1
View File
@@ -195,7 +195,9 @@ export function uiOsmoseDetails(context) {
context.features().forceVisible(d.elems);
context.map().pan([0,0]); // trigger a redraw
})
.catch(err => {}); // TODO: Handle failed json request gracefully in some way
.catch(err => {
console.log(err); // eslint-disable-line no-console
});
}