happy jshint

This commit is contained in:
NatureFreshMilk 2019-09-19 07:33:14 +02:00
parent cb3d8bea54
commit 7c24c4b030
4 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,3 @@
import RealtimeTileLayer from './map/RealtimeTileLayer.js';
class LayerManager {

View File

@ -15,7 +15,7 @@ export default {
"option",
{ value: layer.id, selected: layer.id == LayerManager.getCurrentLayer().id },
layer.name
))
));
return m("select", { class: "form-control", onchange: onchange },layers);
}

View File

@ -9,9 +9,9 @@ const Component = {
return m("div", [
cfg.enablesearch ? m(SearchInput) : null,
m(LayerSelector)
])
]);
}
}
};
export default L.Control.extend({

View File

@ -1,5 +1,4 @@
import debounce from '../../util/debounce.js';
import wsChannel from '../../WebSocketChannel.js';
import layerMgr from '../../LayerManager.js';
import { getMapObjects } from '../../api.js';