(el, checkSkip)
| 8743 | } |
| 8744 | |
| 8745 | function genChildren (el, checkSkip) { |
| 8746 | var children = el.children; |
| 8747 | if (children.length) { |
| 8748 | var el$1 = children[0]; |
| 8749 | // optimize single v-for |
| 8750 | if (children.length === 1 && |
| 8751 | el$1.for && |
| 8752 | el$1.tag !== 'template' && |
| 8753 | el$1.tag !== 'slot') { |
| 8754 | return genElement(el$1) |
| 8755 | } |
| 8756 | var normalizationType = checkSkip ? getNormalizationType(children) : 0; |
| 8757 | return ("[" + (children.map(genNode).join(',')) + "]" + (normalizationType ? ("," + normalizationType) : '')) |
| 8758 | } |
| 8759 | } |
| 8760 | |
| 8761 | // determine the normalization needed for the children array. |
| 8762 | // 0: no normalization needed |
no test coverage detected