More eslint tweaks

This commit is contained in:
David Carley
2022-09-07 17:51:16 +00:00
parent 051e712b53
commit f91dc1d756
26 changed files with 312 additions and 301 deletions

View File

@@ -13,14 +13,14 @@ const messages = [];
module.exports = {
template: "#console-template",
data: function () {
data: function() {
return {
messages
};
},
events: {
log: function (msg) {
log: function(msg) {
// There may be multiple instances of this module so ignore messages
// that have already been processed.
if (msg.logged) {
@@ -65,7 +65,7 @@ module.exports = {
},
methods: {
clear: function () {
clear: function() {
messages.splice(0, messages.length);
},
}