mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-26 08:08:54 +00:00
feat: tidy things up and implement more renderers
- Finished Library parser - Fixed search continuations - Improved channel parser - Improved playlist parser - Added support for posts of type poll - Improved History parser - Removed redundant code
This commit is contained in:
@@ -7,7 +7,11 @@ class ExpandedShelfContents {
|
||||
|
||||
constructor(data) {
|
||||
this.items = Parser.parse(data.items);
|
||||
this.contents = this.items; // XXX: alias for consistency
|
||||
}
|
||||
|
||||
// XXX: alias for consistency
|
||||
get contents() {
|
||||
return this.items;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user