rmeoved commented out code and logs

This commit is contained in:
quenousimporte 2023-10-10 13:08:38 +02:00
parent 37b996e4bc
commit d14ac88cee
1 changed files with 0 additions and 13 deletions

13
main.js
View File

@ -1812,15 +1812,6 @@ function showgrep()
showgrepresult(grep(filter.value)); showgrepresult(grep(filter.value));
} }
} }
// live search
/*filter.oninput = function()
{
if (filter.value.length > 1)
{
showgrepresult(grep(filter.value));
}
}*/
} }
function commandpalette() function commandpalette()
@ -2101,9 +2092,6 @@ function applycolors()
} }
var boldstyle = "-webkit-text-stroke-width: 0.5px;"; var boldstyle = "-webkit-text-stroke-width: 0.5px;";
//var boldstyle = "font-weight: bold; letter-spacing: 0;";
//var boldstyle = "font-weight: bold;";
//var boldstyle = "text-shadow: 0 0 0.01px black;";
var lines = md.value.split("\n"); var lines = md.value.split("\n");
var header = false; var header = false;
@ -2203,7 +2191,6 @@ function applycolors()
} }
else if (comment) else if (comment)
{ {
console.log("comment: " + line);
line = "<span style='color:lightgrey'>" + line line = "<span style='color:lightgrey'>" + line
if (line.includes("--&gt;")) if (line.includes("--&gt;"))
{ {