fix bad indentation in generated code

pull/647/head
Rich Harris 8 years ago
parent dc0dedf3fe
commit e9516abffd

@ -272,15 +272,11 @@ function compound(
} }
block.builders.unmount.addLine( block.builders.unmount.addLine(
`${if_name}{ `${if_name}${name}.unmount();`
${name}.unmount();
}`
); );
block.builders.destroy.addLine( block.builders.destroy.addLine(
`${if_name}{ `${if_name}${name}.destroy();`
${name}.destroy();
}`
); );
} }

@ -164,17 +164,13 @@ function create_main_fragment ( state, component ) {
}, },
unmount: function () { unmount: function () {
{
if_block.unmount(); if_block.unmount();
}
detachNode( if_block_anchor ); detachNode( if_block_anchor );
}, },
destroy: function () { destroy: function () {
{
if_block.destroy(); if_block.destroy();
} }
}
}; };
} }

@ -29,17 +29,13 @@ function create_main_fragment ( state, component ) {
}, },
unmount: function () { unmount: function () {
{
if_block.unmount(); if_block.unmount();
}
detachNode( if_block_anchor ); detachNode( if_block_anchor );
}, },
destroy: function () { destroy: function () {
{
if_block.destroy(); if_block.destroy();
} }
}
}; };
} }

Loading…
Cancel
Save