From cffd46471af35637cdae91127e3fe8dec58f4b35 Mon Sep 17 00:00:00 2001 From: xujiongbo Date: Fri, 24 Feb 2017 10:38:25 +0800 Subject: [PATCH] remove unnecessary code --- 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 c33cf3c4ad6..a10658a7fc5 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 })