minor unrelated codegen fix

pull/353/head
Rich-Harris 8 years ago
parent 71cfb93384
commit 43a5c6edd5

@ -174,11 +174,11 @@ export default function createBinding ( generator, node, attribute, current, loc
node.initialUpdate = updateElement;
local.update.addLine(
`if ( !${local.name}_updating ) {
local.update.addLine( deindent`
if ( !${local.name}_updating ) {
${updateElement}
}`
);
}
` );
generator.current.builders.teardown.addLine( deindent`
${generator.helper( 'removeEventListener' )}( ${local.name}, '${eventName}', ${handler} );

Loading…
Cancel
Save