parent
b9c668841d
commit
b3836d47a6
@ -1,8 +1,12 @@
|
|||||||
class Comment {
|
class Comment {
|
||||||
constructor(start, end, text, fulltext) {
|
constructor(start, end, tittle, text) {
|
||||||
this.start = start;
|
this.start = start;
|
||||||
this.end = end;
|
this.end = end;
|
||||||
this.text = text;
|
this.tittle = tittle;
|
||||||
this.fulltext = fulltext;
|
this.text = [];
|
||||||
|
|
||||||
|
for (let i = 0; i < text.length; i++) {
|
||||||
|
this.text.push(text[i].innerHTML);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue