|
|
@ -145,7 +145,6 @@ function simple(
|
|
|
|
var ${name} = (${branch.condition}) && ${branch.block}(${params}, #component);
|
|
|
|
var ${name} = (${branch.condition}) && ${branch.block}(${params}, #component);
|
|
|
|
`);
|
|
|
|
`);
|
|
|
|
|
|
|
|
|
|
|
|
const isTopLevel = !state.parentNode;
|
|
|
|
|
|
|
|
const mountOrIntro = branch.hasIntroMethod ? 'i' : 'm';
|
|
|
|
const mountOrIntro = branch.hasIntroMethod ? 'i' : 'm';
|
|
|
|
const targetNode = state.parentNode || '#target';
|
|
|
|
const targetNode = state.parentNode || '#target';
|
|
|
|
const anchorNode = state.parentNode ? 'null' : 'anchor';
|
|
|
|
const anchorNode = state.parentNode ? 'null' : 'anchor';
|
|
|
@ -248,7 +247,6 @@ function compound(
|
|
|
|
var ${name} = ${current_block_type_and}${current_block_type}(${params}, #component);
|
|
|
|
var ${name} = ${current_block_type_and}${current_block_type}(${params}, #component);
|
|
|
|
`);
|
|
|
|
`);
|
|
|
|
|
|
|
|
|
|
|
|
const isTopLevel = !state.parentNode;
|
|
|
|
|
|
|
|
const mountOrIntro = branches[0].hasIntroMethod ? 'i' : 'm';
|
|
|
|
const mountOrIntro = branches[0].hasIntroMethod ? 'i' : 'm';
|
|
|
|
|
|
|
|
|
|
|
|
const targetNode = state.parentNode || '#target';
|
|
|
|
const targetNode = state.parentNode || '#target';
|
|
|
@ -347,7 +345,6 @@ function compoundWithOutros(
|
|
|
|
`);
|
|
|
|
`);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const isTopLevel = !state.parentNode;
|
|
|
|
|
|
|
|
const mountOrIntro = branches[0].hasIntroMethod ? 'i' : 'm';
|
|
|
|
const mountOrIntro = branches[0].hasIntroMethod ? 'i' : 'm';
|
|
|
|
const targetNode = state.parentNode || '#target';
|
|
|
|
const targetNode = state.parentNode || '#target';
|
|
|
|
const anchorNode = state.parentNode ? 'null' : 'anchor';
|
|
|
|
const anchorNode = state.parentNode ? 'null' : 'anchor';
|
|
|
|