* Check for element directives (custom elements that should * be resovled as terminal directives). * * @param {Element} el * @param {Object} options
(el, options)
| 7318 | */ |
| 7319 | |
| 7320 | function checkElementDirectives(el, options) { |
| 7321 | var tag = el.tagName.toLowerCase(); |
| 7322 | if (commonTagRE.test(tag)) { |
| 7323 | return; |
| 7324 | } |
| 7325 | var def = resolveAsset(options, 'elementDirectives', tag); |
| 7326 | if (def) { |
| 7327 | return makeTerminalNodeLinkFn(el, tag, '', options, def); |
| 7328 | } |
| 7329 | } |
| 7330 | |
| 7331 | /** |
| 7332 | * Check if an element is a component. If yes, return |
no test coverage detected