Pacify eslint

This commit is contained in:
SilentSpike
2019-01-30 21:51:50 +00:00
parent d82757c392
commit 183dda5999
3 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ export default {
// Even number of points, find midpoint of the middle two
// Odd number of points, use position of very middle point
if (mid % 1 == 0) {
if (mid % 1 === 0) {
loc = pointAverage([points[mid - 1], points[mid]]);
} else {
mid = points[Math.floor(mid)];
+1 -2
View File
@@ -1,5 +1,4 @@
import { dispatch as d3_dispatch } from 'd3-dispatch';
import { select as d3_select } from 'd3-selection';
import { t } from '../util/locale';
import { services } from '../services';
@@ -13,7 +12,7 @@ import {
uiTooltipHtml
} from './index';
import { utilNoAuto, utilRebind } from '../util';
import { utilRebind } from '../util';
export function uiImproveOsmEditor(context) {
-1
View File
@@ -1,5 +1,4 @@
import { dataEn } from '../../data';
import { svgIcon } from '../svg';
import { t } from '../util/locale';