updated comments
This commit is contained in:
4
dist/api.js
vendored
4
dist/api.js
vendored
@@ -124,9 +124,7 @@ function readHTML(html) {
|
||||
...lines,
|
||||
...extraLines.filter(d => d)
|
||||
];
|
||||
//line 1
|
||||
//Pokémon Unite : Lv.40 Veteran: Class 3
|
||||
//Pokémon Unite : Lv.40 Master (1741)
|
||||
//first line
|
||||
{
|
||||
//will be only text after "pokemon unite:"
|
||||
let line = lines[0].split(':').slice(1).join(':').trim();
|
||||
|
||||
@@ -138,9 +138,7 @@ function readHTML(html: string): uniteApiData {
|
||||
...extraLines.filter(d => d)
|
||||
];
|
||||
|
||||
//line 1
|
||||
//Pokémon Unite : Lv.40 Veteran: Class 3
|
||||
//Pokémon Unite : Lv.40 Master (1741)
|
||||
//first line
|
||||
{
|
||||
//will be only text after "pokemon unite:"
|
||||
let line = lines[0].split(':').slice(1).join(':').trim();
|
||||
|
||||
Reference in New Issue
Block a user