Skip to content
Merged
Prev Previous commit
Next Next commit
revert some more unicode
  • Loading branch information
43081j committed Jun 6, 2019
commit 967b0ab1a8d000b1d096bffcd95b42baec3416a6
2 changes: 1 addition & 1 deletion src/compiler/compile/render-dom/wrappers/IfBlock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down
3 changes: 2 additions & 1 deletion test/runtime/samples/await-with-components/_config.js
Original file line number Diff line number Diff line change
@@ -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;
Expand Down