Remove unnecessary code (#4995)

This commit is contained in:
AchillesJ 2017-02-24 10:52:45 +08:00 committed by Phan An
parent 4cf49828c0
commit 673acecc34

View File

@ -251,7 +251,7 @@ export function parse (
text text
}) })
} else if (text !== ' ' || !children.length || children[children.length - 1].text !== ' ') { } else if (text !== ' ' || !children.length || children[children.length - 1].text !== ' ') {
currentParent.children.push({ children.push({
type: 3, type: 3,
text text
}) })