pull/1630/head
Rich Harris 7 years ago
parent 09db82b7bd
commit 48bd025231

@ -78,6 +78,10 @@ export default class Component extends Node {
) { ) {
this.cannotUseInnerHTML(); this.cannotUseInnerHTML();
if (this.expression) {
block.addDependencies(this.expression.dependencies);
}
this.attributes.forEach(attr => { this.attributes.forEach(attr => {
block.addDependencies(attr.dependencies); block.addDependencies(attr.dependencies);
}); });

Loading…
Cancel
Save