From b096385df18210b96dfd62576b0aad0eafac129d Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Mon, 10 Apr 2017 15:12:16 -0400 Subject: [PATCH] lint --- src/generators/dom/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generators/dom/index.js b/src/generators/dom/index.js index 9472538940..ddf3f39cab 100644 --- a/src/generators/dom/index.js +++ b/src/generators/dom/index.js @@ -95,7 +95,7 @@ export default function dom ( parsed, source, options ) { computations.forEach( ({ key, deps }) => { const condition = `isInitial || ${deps.map( dep => `( '${dep}' in newState && ${differs}( state.${dep}, oldState.${dep} ) )` ).join( ' || ' )}`; - const statement = `state.${key} = newState.${key} = ${generator.alias( 'template' )}.computed.${key}( ${deps.map( dep => `state.${dep}` ).join( ', ' )} );` + const statement = `state.${key} = newState.${key} = ${generator.alias( 'template' )}.computed.${key}( ${deps.map( dep => `state.${dep}` ).join( ', ' )} );`; builder.addConditionalLine( condition, statement ); });