From 3ba4793728714d77d70881db50c7c799e73dc211 Mon Sep 17 00:00:00 2001 From: Dexter Date: Wed, 29 Mar 2017 15:21:01 +0200 Subject: [PATCH] Fixes #420 --- src/generators/dom/visitors/attributes/addComponentBinding.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/generators/dom/visitors/attributes/addComponentBinding.js b/src/generators/dom/visitors/attributes/addComponentBinding.js index df9efbc681..980e8f5118 100644 --- a/src/generators/dom/visitors/attributes/addComponentBinding.js +++ b/src/generators/dom/visitors/attributes/addComponentBinding.js @@ -21,8 +21,8 @@ export default function createBinding ( generator, node, attribute, current, loc obj = current.listNames.get( name ); prop = current.indexNames.get( name ); } else if ( attribute.value.type === 'MemberExpression' ) { - prop = `'[✂${attribute.value.property.start}-${attribute.value.property.end}✂]}'`; - obj = `root.[✂${attribute.value.object.start}-${attribute.value.object.end}✂]}`; + prop = `'[✂${attribute.value.property.start}-${attribute.value.property.end}✂]'`; + obj = `root.[✂${attribute.value.object.start}-${attribute.value.object.end}✂]`; } else { obj = 'root'; prop = `'${name}'`;