(el)
| 8050 | } |
| 8051 | |
| 8052 | function processSlot (el) { |
| 8053 | if (el.tag === 'slot') { |
| 8054 | el.slotName = getBindingAttr(el, 'name'); |
| 8055 | if ("development" !== 'production' && el.key) { |
| 8056 | warn$2( |
| 8057 | "`key` does not work on <slot> because slots are abstract outlets " + |
| 8058 | "and can possibly expand into multiple elements. " + |
| 8059 | "Use the key on a wrapping element instead." |
| 8060 | ); |
| 8061 | } |
| 8062 | } else { |
| 8063 | var slotTarget = getBindingAttr(el, 'slot'); |
| 8064 | if (slotTarget) { |
| 8065 | el.slotTarget = slotTarget === '""' ? '"default"' : slotTarget; |
| 8066 | } |
| 8067 | if (el.tag === 'template') { |
| 8068 | el.slotScope = getAndRemoveAttr(el, 'scope'); |
| 8069 | } |
| 8070 | } |
| 8071 | } |
| 8072 | |
| 8073 | function processComponent (el) { |
| 8074 | var binding; |
no test coverage detected