remove double condition

pull/1864/head
Rich Harris 7 years ago
parent 76016581da
commit d5d854c51a

@ -479,7 +479,6 @@ export default class EachBlockWrapper extends Wrapper {
} }
const update = deindent` const update = deindent`
if (${condition}) {
${this.vars.each_block_value} = ${snippet}; ${this.vars.each_block_value} = ${snippet};
for (var #i = ${start}; #i < ${this.vars.each_block_value}.${length}; #i += 1) { for (var #i = ${start}; #i < ${this.vars.each_block_value}.${length}; #i += 1) {
@ -489,7 +488,6 @@ export default class EachBlockWrapper extends Wrapper {
} }
${destroy} ${destroy}
}
`; `;
if (bail) { if (bail) {

Loading…
Cancel
Save