From 157db0c814a8bbfb546fb9374733dc7480a9c156 Mon Sep 17 00:00:00 2001 From: Richard Harris Date: Tue, 20 Aug 2019 08:56:07 -0400 Subject: [PATCH] lint --- src/compiler/compile/render_dom/wrappers/Element/Binding.ts | 2 +- src/compiler/compile/render_dom/wrappers/Element/index.ts | 2 +- .../samples/inline-style-optimisation-bailout/_config.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/compiler/compile/render_dom/wrappers/Element/Binding.ts b/src/compiler/compile/render_dom/wrappers/Element/Binding.ts index df46d759a5..01849be5ef 100644 --- a/src/compiler/compile/render_dom/wrappers/Element/Binding.ts +++ b/src/compiler/compile/render_dom/wrappers/Element/Binding.ts @@ -209,7 +209,7 @@ function get_dom_updater( } if (binding.node.name === 'value') { - return `@set_input_value(${element.var}, ${binding.snippet});` + return `@set_input_value(${element.var}, ${binding.snippet});`; } return `${element.var}.${binding.node.name} = ${binding.snippet};`; diff --git a/src/compiler/compile/render_dom/wrappers/Element/index.ts b/src/compiler/compile/render_dom/wrappers/Element/index.ts index 1d1729c18c..9e267b9ad0 100644 --- a/src/compiler/compile/render_dom/wrappers/Element/index.ts +++ b/src/compiler/compile/render_dom/wrappers/Element/index.ts @@ -385,7 +385,7 @@ export default class ElementWrapper extends Wrapper { const is = this.attributes.find(attr => attr.node.name === 'is'); if (is) { - return `@element_is("${name}", ${is.render_chunks().join(' + ')});` + return `@element_is("${name}", ${is.render_chunks().join(' + ')});`; } return `@element("${name}")`; diff --git a/test/runtime/samples/inline-style-optimisation-bailout/_config.js b/test/runtime/samples/inline-style-optimisation-bailout/_config.js index b294e38bbc..836a3e2e6e 100644 --- a/test/runtime/samples/inline-style-optimisation-bailout/_config.js +++ b/test/runtime/samples/inline-style-optimisation-bailout/_config.js @@ -17,4 +17,4 @@ export default { assert.equal(styles.color, ''); assert.equal(styles.fontSize, '20px'); } -} \ No newline at end of file +}; \ No newline at end of file