mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-19 04:21:35 +00:00
Things were getting a bit complicated and slow with the old parser so I decided to continue #44's work on the main codebase.
12 lines
207 B
JavaScript
12 lines
207 B
JavaScript
'use strict';
|
|
|
|
const Text = require('./Text');
|
|
|
|
class RichListHeader {
|
|
constructor(data) {
|
|
this.title = new Text(data.title);
|
|
this.type = data.icon.iconType;
|
|
}
|
|
}
|
|
|
|
module.exports = RichListHeader; |