mirror of
https://github.com/danbulant/node-html-parser
synced 2026-06-21 16:01:53 +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';
|
'use strict';
|
||||||
return true;
|
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';
|
'use strict';
|
||||||
tagName = tagName || '';
|
tagName = tagName || '';
|
||||||
classes = classes || [];
|
classes = classes || [];
|
||||||
attr_key = attr_key || '';
|
attr_key = attr_key || '';
|
||||||
value = value || '';
|
|
||||||
const attrs = el.attributes;
|
const attrs = el.attributes;
|
||||||
return attrs.hasOwnProperty(attr_key);
|
return attrs.hasOwnProperty(attr_key);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue