fix each-else

pull/1367/head
Rich Harris 8 years ago
parent 0c7da317ce
commit d86534cf4c

@ -37,6 +37,10 @@ export default class EachBlock extends Node {
this.scope.add(this.context, this.expression.dependencies);
this.children = mapChildren(compiler, this, this.scope, info.children);
this.else = info.else
? new ElseBlock(compiler, this, this.scope, info.else)
: null;
}
init(

Loading…
Cancel
Save