[CodeFactor] Apply fixes (#2595)

Co-authored-by: codefactor-io <support@codefactor.io>
This commit is contained in:
DecorativeFamily
2024-11-12 01:28:00 +03:30
committed by GitHub
parent 9f445686a4
commit 35df2a0505
6 changed files with 7 additions and 7 deletions
@@ -63,7 +63,7 @@
return scriptHint(editor, javascriptKeywords,
function (e, cur) {return e.getTokenAt(cur);},
options);
};
}
CodeMirror.registerHelper("hint", "javascript", javascriptHint);
function getCoffeeScriptToken(editor, cur) {
+1 -1
View File
@@ -362,7 +362,7 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) {
if (type == wanted) return cont();
else if (wanted == ";" || type == "}" || type == ")" || type == "]") return pass();
else return cont(exp);
};
}
return exp;
}
+1 -1
View File
@@ -6,7 +6,7 @@
.CodeMirror-lint-tooltip {
background-color: #ffd;
border: 1px solid black;
border-radius: 4px 4px 4px 4px;
border-radius: 4px;
color: black;
font-family: monospace;
font-size: 10pt;