mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-28 09:06:51 +00:00
chore(parser): Remove extra Array.from call (#407)
This commit is contained in:
@@ -509,7 +509,7 @@ export default class Parser {
|
||||
return this.ignore_list.has(classname);
|
||||
}
|
||||
|
||||
static #rt_nodes = new Map<string, YTNodeConstructor>(Array.from(Object.entries(YTNodes)));
|
||||
static #rt_nodes = new Map<string, YTNodeConstructor>(Object.entries(YTNodes));
|
||||
static #dynamic_nodes = new Map<string, YTNodeConstructor>();
|
||||
|
||||
static getParserByName(classname: string) {
|
||||
|
||||
Reference in New Issue
Block a user