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