Files
TVC/js/comments.js
Emil Miler a0406b44da Oprava po přejmenování tagů (#9)
Fix camel case

Fix sample video and XML parser

Remove extra chromosomes

Reviewed-on: https://git.microlab.space/pixx/TVC/pulls/9
Co-Authored-By: Emil Miler <emil.miler@pedf.cuni.cz>
Co-Committed-By: Emil Miler <emil.miler@pedf.cuni.cz>
2021-01-31 18:58:02 +01:00

13 lines
243 B
JavaScript

class Comment {
constructor(start, end, title, text) {
this.start = start;
this.end = end;
this.title = title;
this.text = [];
for (let i = 0; i < text.length; i++) {
this.text.push(text[i].innerHTML);
}
}
}