commit a0526547befdff35c013c20ba2b25c2acb5deec0
parent 7cf1675b07efe01540482ece7409376d9fbe4043
Author: Sergej Orlov <wladimirych@gmail.com>
Date: Sun, 26 Jan 2020 01:07:37 +0100
fix lint errors (space-in-parens)
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/App.js b/src/App.js
@@ -145,7 +145,7 @@ function setUp() {
}
startInfo.tracksAfterLoadFromStorage = trackNames();
- for (let param of tracksHashParams ) {
+ for (let param of tracksHashParams) {
bindHashStateReadOnly(param, tracklist.loadTrackFromParam.bind(tracklist, param));
}
startInfo.tracksAfterLoadFromHash = trackNames();
diff --git a/src/lib/leaflet.control.panoramas/lib/mapillary/mapillary-coverage-layer.js b/src/lib/leaflet.control.panoramas/lib/mapillary/mapillary-coverage-layer.js
@@ -124,7 +124,7 @@ const MapillaryCoverage = L.GridLayer.extend({
if (!canvas._tileData) {
return;
}
- if (coords.z < 6 + 2 ) {
+ if (coords.z < 6 + 2) {
this.drawOverview(canvas);
} else if (coords.z < 14 + 2) {
let width = coords.z < 14 ? 10 : 5;
diff --git a/src/lib/magnetic-declination/index.js b/src/lib/magnetic-declination/index.js
@@ -19,7 +19,7 @@ function loadData() {
}
function getArrayValue(row, col) {
- if (row < 0 || col < 0 || col >= declination.colsCount || row >= declination.rowsCount ) {
+ if (row < 0 || col < 0 || col >= declination.colsCount || row >= declination.rowsCount) {
throw new Error(`Invalid col/row value col=${col} row=${row}`);
}
const ind = row * declination.colsCount + col;