do not redefine each item, as noted in #209

pull/248/head
Arpad Borsos 8 years ago
parent 20e1b05c45
commit 6f12726948
No known key found for this signature in database
GPG Key ID: 908EDF65263368B4

@ -207,15 +207,6 @@ export default {
builders: getBuilders(), builders: getBuilders(),
getUniqueName: generator.getUniqueNameMaker() 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 ) { leave ( generator ) {

Loading…
Cancel
Save