compound component attributes

pull/7738/head
Rich Harris 8 years ago
parent 45a531876e
commit 4b99973c84

@ -17,10 +17,8 @@ export default function visitComponent(
if (chunk.type === 'Text') {
return escapeTemplate(escape(chunk.data));
}
if (chunk.type === 'MustacheTag') {
const { snippet } = chunk.expression;
return '${__escape( ' + snippet + ')}';
}
return '${__escape( ' + chunk.snippet + ')}';
}
const bindingProps = node.bindings.map(binding => {

Loading…
Cancel
Save