pull/380/head
Rich Harris 9 years ago
parent da3f751e3c
commit 9e14fbb4fc

@ -103,12 +103,4 @@ function getBindingValue ( local, node, attribute, isMultipleSelect ) {
}
return `${local.name}.${attribute.name}`;
}
function getTailSnippet ( node ) {
const end = node.end;
while ( node.type === 'MemberExpression' ) node = node.object;
const start = node.end;
return `[✂${start}-${end}✂]`;
}
Loading…
Cancel
Save