Enable a number of eslint style rules

This commit is contained in:
Tom Hughes 2019-04-07 17:02:39 +01:00
parent 8030e7b5d6
commit 5bd59e1936
28 changed files with 278 additions and 240 deletions

View file

@ -33,7 +33,7 @@ OSM.initializeNotes = function (map) {
}
});
noteLayer.on("click", function(e) {
noteLayer.on("click", function (e) {
if (e.layer.id) {
OSM.router.route("/note/" + e.layer.id);
}
@ -55,7 +55,7 @@ OSM.initializeNotes = function (map) {
return marker;
}
noteLayer.getLayerId = function(marker) {
noteLayer.getLayerId = function (marker) {
return marker.id;
};