pull/421/head
Dexter 8 years ago
parent 731f840a34
commit 3ba4793728
No known key found for this signature in database
GPG Key ID: B404EAED384C3FB9

@ -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}'`;

Loading…
Cancel
Save