|
|
@ -621,8 +621,6 @@ export default function generate ( parsed, template ) {
|
|
|
|
${templateProperties.onteardown ? `template.onteardown.call( component );` : ``}
|
|
|
|
${templateProperties.onteardown ? `template.onteardown.call( component );` : ``}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
${templateProperties.oninit ? `template.oninit.call( component );` : ``}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let mainFragment = renderMainFragment( component, options.target );
|
|
|
|
let mainFragment = renderMainFragment( component, options.target );
|
|
|
|
component.set( ${templateProperties.data ? `Object.assign( template.data(), options.data )` : `options.data`} );
|
|
|
|
component.set( ${templateProperties.data ? `Object.assign( template.data(), options.data )` : `options.data`} );
|
|
|
|
|
|
|
|
|
|
|
|