mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-20 04:51:16 +00:00
refactor!: finish parser migration
Finally! :) This removes all code related to the old parser. #65
This commit is contained in:
17
lib/parser/classes/menus/MultiPageMenuNotificationSection.js
Normal file
17
lib/parser/classes/menus/MultiPageMenuNotificationSection.js
Normal file
@@ -0,0 +1,17 @@
|
||||
'use strict';
|
||||
|
||||
const Parser = require('../..');
|
||||
|
||||
class MultiPageMenuNotificationSection {
|
||||
type = 'MultiPageMenuNotificationSection';
|
||||
|
||||
constructor(data) {
|
||||
this.items = Parser.parse(data.items);
|
||||
}
|
||||
|
||||
get contents() {
|
||||
return this.items;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = MultiPageMenuNotificationSection;
|
||||
Reference in New Issue
Block a user