updated comments

This commit is contained in:
2022-01-31 16:56:47 -06:00
parent 5ce68086b8
commit 1e990abdd5
2 changed files with 2 additions and 6 deletions

4
dist/api.js vendored
View File

@@ -124,9 +124,7 @@ function readHTML(html) {
...lines, ...lines,
...extraLines.filter(d => d) ...extraLines.filter(d => d)
]; ];
//line 1 //first line
//Pokémon Unite : Lv.40 Veteran: Class 3
//Pokémon Unite : Lv.40 Master (1741)
{ {
//will be only text after "pokemon unite:" //will be only text after "pokemon unite:"
let line = lines[0].split(':').slice(1).join(':').trim(); let line = lines[0].split(':').slice(1).join(':').trim();

View File

@@ -138,9 +138,7 @@ function readHTML(html: string): uniteApiData {
...extraLines.filter(d => d) ...extraLines.filter(d => d)
]; ];
//line 1 //first line
//Pokémon Unite : Lv.40 Veteran: Class 3
//Pokémon Unite : Lv.40 Master (1741)
{ {
//will be only text after "pokemon unite:" //will be only text after "pokemon unite:"
let line = lines[0].split(':').slice(1).join(':').trim(); let line = lines[0].split(':').slice(1).join(':').trim();