eslint/browser list/accessibility test

This commit is contained in:
JFH
2020-07-26 20:11:18 +02:00
parent 630a76c1b6
commit 89e20d49e6
114 changed files with 105155 additions and 93732 deletions

View File

@@ -222,7 +222,7 @@ export default {
const attrs = $(this).children().attr(['fill', 'd']);
if (attrs.fill === color && attrs.d === curD) {
// Found another marker with this color and this path
newMarker = this; // eslint-disable-line consistent-this
newMarker = this;
}
});
@@ -241,7 +241,7 @@ export default {
// Check if last marker can be removed
let remove = true;
$(S.svgcontent).find('line, polyline, path, polygon').each(function () {
const element = this; // eslint-disable-line consistent-this
const element = this;
$.each(mtypes, function (j, mtype) {
if ($(element).attr('marker-' + mtype) === 'url(#' + marker.id + ')') {
remove = false;

View File

@@ -17,7 +17,7 @@ export default {
// This populates the category list
const {categories} = strings;
/* eslint-disable max-len */
const library = {
basic: {
data: {
@@ -54,7 +54,7 @@ export default {
buttons: []
}
};
/* eslint-enable max-len */
const modeId = 'shapelib';
const startClientPos = {};