|
|
@ -22,7 +22,7 @@ export default function createBinding ( generator, node, attribute, current, loc
|
|
|
|
prop = current.indexNames.get( name );
|
|
|
|
prop = current.indexNames.get( name );
|
|
|
|
} else if ( attribute.value.type === 'MemberExpression' ) {
|
|
|
|
} else if ( attribute.value.type === 'MemberExpression' ) {
|
|
|
|
prop = `'[✂${attribute.value.property.start}-${attribute.value.property.end}✂]'`;
|
|
|
|
prop = `'[✂${attribute.value.property.start}-${attribute.value.property.end}✂]'`;
|
|
|
|
obj = `root.[✂${attribute.value.object.start}-${attribute.value.object.end}✂]`;
|
|
|
|
obj = `[✂${attribute.value.object.start}-${attribute.value.object.end}✂]`;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
obj = 'root';
|
|
|
|
obj = 'root';
|
|
|
|
prop = `'${name}'`;
|
|
|
|
prop = `'${name}'`;
|
|
|
|