remove more unused references

pull/1367/head
Rich Harris 7 years ago
parent fb09c2548f
commit 83e62ea0b9

@ -9,7 +9,7 @@ export default function visitAwaitBlock(
node: Node
) {
block.contextualise(node.expression);
const { dependencies, snippet } = node.metadata;
const { snippet } = node.metadata;
// TODO should this be the generator's job? It's duplicated between
// here and the equivalent DOM compiler visitor

@ -9,7 +9,7 @@ export default function visitEachBlock(
node: Node
) {
block.contextualise(node.expression);
const { dependencies, snippet } = node.metadata;
const { snippet } = node.metadata;
const open = `\${ ${node.else ? `${snippet}.length ? ` : ''}${snippet}.map(${node.index ? `(${node.context}, ${node.index})` : `(${node.context})`} => \``;
generator.append(open);

Loading…
Cancel
Save