enforce a few eslint rules

This commit is contained in:
JFH
2021-05-13 01:00:09 +02:00
parent 9a5292b467
commit d3974f8f17
148 changed files with 1402 additions and 1398 deletions

View File

@@ -12,7 +12,7 @@ export default {
init () {
const svgEditor = this;
const canv = svgEditor.svgCanvas;
const {$id} = canv;
const { $id } = canv;
const svgroot = canv.getRootElem();
let lastBBox = {};
@@ -32,7 +32,7 @@ export default {
src="./images/shapelib.svg"></se-explorerbutton>
`;
$id('tools_left').append(buttonTemplate.content.cloneNode(true));
$id('tool_shapelib').addEventListener("click", () => {
$id('tool_shapelib').addEventListener("click", () => {
canv.setMode(modeId);
});
}