(tag: MetaDefinition, el: HTMLMetaElement)
| 177 | } |
| 178 | |
| 179 | function setMetaElementAttributes(tag: MetaDefinition, el: HTMLMetaElement) { |
| 180 | Object.keys(tag).forEach((prop: string) => el.setAttribute(getMetaKeyMap(prop), tag[prop])); |
| 181 | } |
| 182 | |
| 183 | function parseSelector(tag: MetaDefinition): string { |
| 184 | const attr: string = tag.name ? 'name' : 'property'; |
no test coverage detected