diff --git a/src/generators/dom/visitors/EachBlock.js b/src/generators/dom/visitors/EachBlock.js index 13bf576a5b..6aebb15781 100644 --- a/src/generators/dom/visitors/EachBlock.js +++ b/src/generators/dom/visitors/EachBlock.js @@ -207,15 +207,6 @@ export default { builders: getBuilders(), getUniqueName: generator.getUniqueNameMaker() }); - - Object.keys( contexts ).forEach( contextName => { - const listName = listNames[ contextName ]; - const indexName = indexNames[ contextName ]; - - generator.current.builders.update.addLine( - `var ${contextName} = ${listName}[${indexName}];` - ); - }); }, leave ( generator ) {