diff --git a/src/compiler/compile/render-dom/wrappers/IfBlock.ts b/src/compiler/compile/render-dom/wrappers/IfBlock.ts index a6406d86c1..46f17653a1 100644 --- a/src/compiler/compile/render-dom/wrappers/IfBlock.ts +++ b/src/compiler/compile/render-dom/wrappers/IfBlock.ts @@ -433,7 +433,7 @@ export default class IfBlockWrapper extends Wrapper { } `; - // no `p()` here — we don't want to update outroing nodes, + // no `p()` here — we don't want to update outroing nodes, // as that will typically result in glitching const exit = branch.block.has_outro_method ? deindent` diff --git a/src/compiler/compile/render-dom/wrappers/InlineComponent/index.ts b/src/compiler/compile/render-dom/wrappers/InlineComponent/index.ts index 290f5b9543..d2d76b41de 100644 --- a/src/compiler/compile/render-dom/wrappers/InlineComponent/index.ts +++ b/src/compiler/compile/render-dom/wrappers/InlineComponent/index.ts @@ -264,7 +264,7 @@ export default class InlineComponentWrapper extends Wrapper { let object; if (binding.is_contextual && binding.expression.node.type === 'Identifier') { - // bind:x={y} — we can't just do `y = x`, we need to + // bind:x={y} — we can't just do `y = x`, we need to // to `array[index] = x; const { name } = binding.expression.node; const { snippet } = block.bindings.get(name); @@ -318,7 +318,7 @@ export default class InlineComponentWrapper extends Wrapper { let lhs = component.source.slice(binding.expression.node.start, binding.expression.node.end).trim(); if (binding.is_contextual && binding.expression.node.type === 'Identifier') { - // bind:x={y} — we can't just do `y = x`, we need to + // bind:x={y} — we can't just do `y = x`, we need to // to `array[index] = x; const { name } = binding.expression.node; const { object, property, snippet } = block.bindings.get(name); diff --git a/test/runtime/samples/await-with-components/_config.js b/test/runtime/samples/await-with-components/_config.js index d0e5a2bf18..a0a558782a 100644 --- a/test/runtime/samples/await-with-components/_config.js +++ b/test/runtime/samples/await-with-components/_config.js @@ -1,6 +1,7 @@ export default { async test({ assert, component, target }) { - let resolve; let reject; + let resolve; + let reject; let promise = new Promise(ok => resolve = ok); component.promise = promise;