remove fragment and ctx from $$ initialization

pull/5702/head
Ivan Hofer 5 years ago
parent a7e6dbc751
commit 2ad3433dc2

@ -104,9 +104,6 @@ export function init(component, options, instance, create_fragment, not_equal, p
const prop_values = options.props || {}; const prop_values = options.props || {};
const $$: T$$ = component.$$ = { const $$: T$$ = component.$$ = {
fragment: null,
ctx: null,
// state // state
props, props,
update: noop, update: noop,
@ -124,7 +121,7 @@ export function init(component, options, instance, create_fragment, not_equal, p
callbacks: {}, callbacks: {},
dirty, dirty,
skip_bound: false skip_bound: false
}; } as T$$;
let ready = false; let ready = false;

Loading…
Cancel
Save