|
|
@ -31,9 +31,7 @@ export function if_block(
|
|
|
|
|
|
|
|
|
|
|
|
var flags = elseif ? EFFECT_TRANSPARENT : 0;
|
|
|
|
var flags = elseif ? EFFECT_TRANSPARENT : 0;
|
|
|
|
|
|
|
|
|
|
|
|
block(() => {
|
|
|
|
block(anchor, flags, () => {
|
|
|
|
assign_nodes(null, anchor); // TODO `block(anchor, () => {...})`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (condition === (condition = !!get_condition())) return;
|
|
|
|
if (condition === (condition = !!get_condition())) return;
|
|
|
|
|
|
|
|
|
|
|
|
/** Whether or not there was a hydration mismatch. Needs to be a `let` or else it isn't treeshaken out */
|
|
|
|
/** Whether or not there was a hydration mismatch. Needs to be a `let` or else it isn't treeshaken out */
|
|
|
@ -81,5 +79,5 @@ export function if_block(
|
|
|
|
// continue in hydration mode
|
|
|
|
// continue in hydration mode
|
|
|
|
set_hydrating(true);
|
|
|
|
set_hydrating(true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}, flags);
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|