Skip to content

Commit

Permalink
Fixes #420
Browse files Browse the repository at this point in the history
  • Loading branch information
dxlbnl committed Mar 29, 2017
1 parent 731f840 commit 3ba4793
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/generators/dom/visitors/attributes/addComponentBinding.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}'`;
Expand Down

0 comments on commit 3ba4793

Please sign in to comment.