attribute shorthand

pull/7738/head
Rich Harris 8 years ago
parent c731f03bd0
commit fc96e3e542

@ -296,8 +296,6 @@ function readAttribute(parser: Parser, uniqueNames: Set<string>) {
if (parser.eat(parser.v2 ? '{' : '{{')) {
parser.allowWhitespace();
const spread = parser.eat('...');
if (parser.eat('...')) {
const expression = readExpression(parser);

Loading…
Cancel
Save