mirror of
https://github.com/danbulant/node-html-parser
synced 2026-05-20 04:49:00 +00:00
fix: lint
This commit is contained in:
parent
5aec0ba86c
commit
90ac099782
1 changed files with 1 additions and 2 deletions
|
|
@ -62,12 +62,11 @@ const functionCache = {
|
|||
'use strict';
|
||||
return true;
|
||||
},
|
||||
f55(el: HTMLElement, tagName: string, classes: string[], attr_key: string, value: string) {
|
||||
f55(el: HTMLElement, tagName: string, classes: string[], attr_key: string) {
|
||||
'use strict';
|
||||
tagName = tagName || '';
|
||||
classes = classes || [];
|
||||
attr_key = attr_key || '';
|
||||
value = value || '';
|
||||
const attrs = el.attributes;
|
||||
return attrs.hasOwnProperty(attr_key);
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue