commit 5f3d291bab2b82413b9a3586c334782dd5701082
parent 7f750c4f7cd801e18e35f32323763f9bfb9ad6df
Author: Sergej Orlov <wladimirych@gmail.com>
Date: Sun, 26 Jan 2020 00:57:45 +0100
fix lint errors (space-before-blocks)
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/lib/leaflet.control.panoramas/index.js b/src/lib/leaflet.control.panoramas/index.js
@@ -329,7 +329,7 @@ L.Control.Panoramas.include({
state = [];
let coverageCode='_';
for (let provider of this.providers) {
- if (provider.selected()){
+ if (provider.selected()) {
coverageCode += provider.code;
}
}
diff --git a/src/lib/leaflet.control.panoramas/lib/mapillary/mvt.js b/src/lib/leaflet.control.panoramas/lib/mapillary/mvt.js
@@ -44,7 +44,7 @@ function parseGeometry(geometryType, ints, coordinatesScale) { // eslint-disable
throw new Error('LineTo with empty linestring');
}
pos +=1;
- for (let cmdN = 0; cmdN < cmdRepeat; cmdN++){
+ for (let cmdN = 0; cmdN < cmdRepeat; cmdN++) {
if (pos + 2 > len) {
throw new Error('Not enough elements for LineTo arguments');
}
diff --git a/src/lib/leaflet.control.track-list/track-list.js b/src/lib/leaflet.control.track-list/track-list.js
@@ -856,7 +856,7 @@ L.Control.TrackList = L.Control.extend({
},
onTrackRowMouseLeave: function(track) {
- if (this._highlightedTrack === track){
+ if (this._highlightedTrack === track) {
this._highlightedTrack = null;
this.updateTrackHighlight();
}