Files
YouTube.js/lib/parser/classes/ChipCloud.js
LuanRT 68cb841c00 refactor!: finish parser migration
Finally! :)

This removes all code related to the old parser.

#65
2022-07-11 06:19:10 -03:00

16 lines
362 B
JavaScript

'use strict';
const Parser = require('..');
class ChipCloud {
type = 'ChipCloud';
constructor(data) {
this.chips = Parser.parse(data.chips);
this.next_button = Parser.parse(data.nextButton);
this.previous_button = Parser.parse(data.previousButton);
this.horizontal_scrollable = data.horizontalScrollable;
}
}
module.exports = ChipCloud;