0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00
This commit is contained in:
Timothy Johnson 2018-11-20 12:54:55 -08:00
parent 0e586e39e3
commit 05fa286d7b

View File

@ -174,6 +174,9 @@ export default class AwaitBlockWrapper extends Wrapper {
block.builders.mount.addBlock(deindent`
${info}.block.${hasTransitions ? 'i' : 'm'}(${initialMountNode}, ${info}.anchor = ${anchorNode});
${info}.mount = () => ${updateMountNode};
if (${info}.anchor == null) {
${info}.anchor = ${anchor};
}
`);
const conditions = [];