Tweaks for mobile.

This commit is contained in:
Brad Nelson
2022-07-20 23:20:30 -07:00
parent 19aa66062b
commit 1aacfd24ba
12 changed files with 68 additions and 21 deletions

View File

@ -23,7 +23,7 @@ function DropCopyright(source) {
while (lines[i] != '-->') {
++i;
}
i += 2;
++i;
}
if (lines[i].search('Copyright') >= 0) {
while (lines[i] != '') {
@ -33,7 +33,7 @@ function DropCopyright(source) {
cleaned.push(lines[i]);
}
}
return cleaned.join('\n');
return cleaned.join('\n').trim();
}
var source = fs.readFileSync(process.stdin.fd).toString();