(attrSelector: string)
| 178 | } |
| 179 | |
| 180 | function buildMetaSelector(attrSelector: string): string { |
| 181 | return `meta[${attrSelector}]`; |
| 182 | } |
| 183 | |
| 184 | function setMetaElementAttributes(tag: MetaDefinition, el: HTMLMetaElement) { |
| 185 | Object.keys(tag).forEach((prop: string) => el.setAttribute(getMetaKeyMap(prop), tag[prop])); |