From 174975c93e4cd9b0b08e3ed94f2ea27a065aea4a Mon Sep 17 00:00:00 2001 From: Rich-Harris Date: Sat, 24 Mar 2018 09:43:06 -0400 Subject: [PATCH] remove some unused stuff --- src/generators/nodes/EachBlock.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/generators/nodes/EachBlock.ts b/src/generators/nodes/EachBlock.ts index fa658c2537..6e248a3a63 100644 --- a/src/generators/nodes/EachBlock.ts +++ b/src/generators/nodes/EachBlock.ts @@ -250,10 +250,6 @@ export default class EachBlock extends Node { const iteration = block.getUniqueName(`${each}_iteration`); const head = block.getUniqueName(`${each}_head`); const last = block.getUniqueName(`${each}_last`); - const expected = block.getUniqueName(`${each}_expected`); - const keep = block.getUniqueName(`${each}_keep`); - const mounts = block.getUniqueName(`${each}_mounts`); - const next_iteration = block.getUniqueName(`${each}_next_iteration`); block.addVariable(lookup, `@blankObject()`); block.addVariable(head); @@ -279,7 +275,6 @@ export default class EachBlock extends Node { })); if (${last}) ${last}.next = ${iteration}; - ${iteration}.last = ${last}; ${last} = ${iteration}; if (#i === 0) ${head} = ${iteration};