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