Enable a number of eslint style rules
This commit is contained in:
parent
8030e7b5d6
commit
5bd59e1936
28 changed files with 278 additions and 240 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue