Some eslint fixes

This commit is contained in:
David Carley
2022-09-05 10:30:42 +00:00
parent cae5ccd7b7
commit 135b46df23
17 changed files with 36 additions and 36 deletions

View File

@@ -6,7 +6,7 @@ const cookie = require("./cookie")("bbctrl-");
module.exports = {
template: "#control-view-template",
props: ["config", "template", "state"],
props: [ "config", "template", "state" ],
data: function () {
return {
@@ -245,7 +245,7 @@ module.exports = {
const weight = `font-weight:${this.jog_incr === value ? "bold" : "normal"}`;
const color = this.jog_incr === value ? "color:#0078e7" : "";
return [weight, color].join(";");
return [ weight, color ].join(";");
},
jog_fn: function (x_jog, y_jog, z_jog, a_jog) {
@@ -342,7 +342,7 @@ module.exports = {
utils.clickFileInput("gcode-file-input");
},
upload: async function (e) {
upload: function (e) {
const files = e.target.files || e.dataTransfer.files;
if (!files.length) {
return;
@@ -495,5 +495,5 @@ module.exports = {
}
},
mixins: [require("./axis-vars")]
mixins: [ require("./axis-vars") ]
};