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,
|
...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();
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user