remove comment about removing comments
This commit is contained in:
parent
7dda73fef5
commit
5faeadeba1
1 changed files with 0 additions and 1 deletions
|
@ -122,7 +122,6 @@ function deleteServerScripts(html: string): string {
|
||||||
function cleanScript(scripts: string[]): string {
|
function cleanScript(scripts: string[]): string {
|
||||||
let script = scripts.map((s) => s.trim()).join(" ");
|
let script = scripts.map((s) => s.trim()).join(" ");
|
||||||
|
|
||||||
// remove comments
|
|
||||||
script = removeComments(script);
|
script = removeComments(script);
|
||||||
|
|
||||||
return script.replace(/\n/g, "").replace(/\s+/g, " ");
|
return script.replace(/\n/g, "").replace(/\s+/g, " ");
|
||||||
|
|
Loading…
Reference in a new issue