From 673acecc349dcd407049f1fecd0d8c8f34c4d4d7 Mon Sep 17 00:00:00 2001 From: AchillesJ Date: Fri, 24 Feb 2017 10:52:45 +0800 Subject: [PATCH] Remove unnecessary code (#4995) --- src/compiler/parser/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/parser/index.js b/src/compiler/parser/index.js index c33cf3c4..a10658a7 100644 --- a/src/compiler/parser/index.js +++ b/src/compiler/parser/index.js @@ -251,7 +251,7 @@ export function parse ( text }) } else if (text !== ' ' || !children.length || children[children.length - 1].text !== ' ') { - currentParent.children.push({ + children.push({ type: 3, text })