|
|
|
@ -112,10 +112,6 @@ export default function visitElement ( generator, block, state, node ) {
|
|
|
|
|
visit( generator, block, childState, child );
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
if ( node.initialUpdate ) {
|
|
|
|
|
block.builders.create.addBlock( node.initialUpdate );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if ( node.lateUpdate ) {
|
|
|
|
|
block.builders.update.addLine( node.lateUpdate );
|
|
|
|
|
}
|
|
|
|
@ -124,6 +120,10 @@ export default function visitElement ( generator, block, state, node ) {
|
|
|
|
|
const visitor = selectValueAttribute.type === 'Attribute' ? visitAttribute : visitBinding;
|
|
|
|
|
visitor( generator, block, childState, node, selectValueAttribute );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if ( node.initialUpdate ) {
|
|
|
|
|
block.builders.create.addBlock( node.initialUpdate );
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function getRenderStatement ( generator, namespace, name ) {
|
|
|
|
|