Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
metelkin authored Jun 17, 2024
1 parent e10d296 commit ab53a57
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,20 +110,3 @@ $(window).ready(() => {
});
*/
});

function splitLines(s) {
let newS = [];
s.split('\n').forEach((line) => {
if (line.length <= 180) {
newS.push(line);
} else {
let i = 0;
while (i < line.length) {
newS.push(line.slice(i, i + 100));
i += 100;
}
}
});

return newS.join('\n');
}

0 comments on commit ab53a57

Please sign in to comment.