Don't include Bindings to element attributes for the proper value of options

pull/1056/head
Efthymis Sarmpanis 8 years ago
parent 95ec663413
commit 210c0fea38

@ -182,7 +182,9 @@ export default function tag(parser: Parser) {
let attribute; let attribute;
while ((attribute = readAttribute(parser, uniqueNames))) { while ((attribute = readAttribute(parser, uniqueNames))) {
element.attributes.push(attribute); if (attribute.type !== 'Binding' || parser.bind) {
element.attributes.push(attribute);
}
parser.allowWhitespace(); parser.allowWhitespace();
} }

Loading…
Cancel
Save