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