Properly set up ESLint

This commit is contained in:
Joel Collins 2020-10-27 17:05:57 +00:00
parent e1cca30deb
commit 81ca64e0d8
8 changed files with 491 additions and 23 deletions

View file

@ -45,7 +45,7 @@ import loadingContent from "./components/loadingContent.vue";
import axios from "axios";
var Mousetrap = require("mousetrap");
Mousetrap.prototype.stopCallback = function(e, element, combo) {
Mousetrap.prototype.stopCallback = function(e, element) {
// if the element has the class "mousetrap" then no need to stop
if ((" " + element.className + " ").indexOf(" mousetrap ") > -1) {
return false;