nakarte

Source code of https://map.sikmir.ru (fork)
git clone git://git.sikmir.ru/nakarte
Log | Files | Refs | LICENSE

commit 0b5625d13fc15512cd3d9bc178fd7d44a543c548
parent 73d462ef415a4be11b7637d16f1ae889ca68e850
Author: Sergej Orlov <wladimirych@gmail.com>
Date:   Sat, 25 Jan 2020 22:47:54 +0100

fix lint errors (object-curly-newline)

Diffstat:
Msrc/index.js | 3++-
Msrc/layers.js | 3++-
Msrc/lib/leaflet.control.panoramas/index.js | 6+++---
Msrc/lib/leaflet.layer.canvasMarkers/index.js | 3++-
4 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/src/index.js b/src/index.js @@ -23,7 +23,8 @@ function getUid() { if (NODE_ENV === 'production') { Sentry.init({ dsn: config.sentryDSN, - release: RELEASE_VER}); + release: RELEASE_VER + }); } console.log('Version:', RELEASE_VER); // eslint-disable-line no-console diff --git a/src/layers.js b/src/layers.js @@ -1178,7 +1178,8 @@ function getLayers() { top: orderByTitle['#custom-top'], bottom: orderByTitle['#custom-bottom'], - }}; + } + }; } export {getLayers, layersDefs, groupsDefs, titlesByOrder}; diff --git a/src/lib/leaflet.control.panoramas/index.js b/src/lib/leaflet.control.panoramas/index.js @@ -42,7 +42,8 @@ const PanoMarker = L.Marker.extend({ setType: function(markerType) { const className = { 'slim': 'leaflet-panorama-marker-circle', - 'normal': 'leaflet-panorama-marker-binocular'}[markerType]; + 'normal': 'leaflet-panorama-marker-binocular' + }[markerType]; this.getIcon().className = className; } }); @@ -64,8 +65,7 @@ L.Control.Panoramas = L.Control.extend({ layerOptions: {opacity: 0.7, zIndex: 9}, code: 'w', selected: ko.observable(false), - mapMarkerType: 'slim' - }, + mapMarkerType: 'slim'}, {name: 'mapillary', title: 'Mapillary', provider: mapillaryProvider, layerOptions: {opacity: 0.7, zIndex: 8}, code: 'm', diff --git a/src/lib/leaflet.layer.canvasMarkers/index.js b/src/lib/leaflet.layer.canvasMarkers/index.js @@ -39,7 +39,8 @@ class MarkerRBush extends RBush { minX: x, minY: y, maxX: x, - maxY: y}; + maxY: y + }; } compareMinX(a, b) {