|
|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
import { add_render_callback, flush, schedule_update, dirty_components } from './scheduler';
|
|
|
|
|
import { current_component, set_current_component } from './lifecycle';
|
|
|
|
|
import { current_component, no_current_component, set_current_component } from './lifecycle';
|
|
|
|
|
import { blank_object, is_empty, is_function, run, run_all, noop } from './utils';
|
|
|
|
|
import { children, detach, start_hydrating, end_hydrating } from './dom';
|
|
|
|
|
import { transition_in } from './transitions';
|
|
|
|
|
@ -152,9 +152,11 @@ export function init(component, options, instance, create_fragment, not_equal, p
|
|
|
|
|
ready = true;
|
|
|
|
|
run_all($$.before_update);
|
|
|
|
|
|
|
|
|
|
no_current_component(() => {
|
|
|
|
|
// `false` as a special case of no DOM component
|
|
|
|
|
$$.fragment = create_fragment ? create_fragment($$.ctx) : false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (options.target) {
|
|
|
|
|
if (options.hydrate) {
|
|
|
|
|
start_hydrating();
|
|
|
|
|
@ -172,6 +174,7 @@ export function init(component, options, instance, create_fragment, not_equal, p
|
|
|
|
|
end_hydrating();
|
|
|
|
|
flush();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
set_current_component(parent_component);
|
|
|
|
|
}
|
|
|
|
|
|