|
|
@ -14,7 +14,7 @@ export interface Fragment {
|
|
|
|
/* claim */ l: (nodes: any) => void;
|
|
|
|
/* claim */ l: (nodes: any) => void;
|
|
|
|
/* hydrate */ h: () => void;
|
|
|
|
/* hydrate */ h: () => void;
|
|
|
|
/* mount */ m: (target: HTMLElement, anchor: any) => void;
|
|
|
|
/* mount */ m: (target: HTMLElement, anchor: any) => void;
|
|
|
|
/* update */ p: (ctx: any, dirty: any) => void;
|
|
|
|
/* update */ p: (ctx: T$$['ctx'], dirty: T$$['dirty']) => void;
|
|
|
|
/* measure */ r: () => void;
|
|
|
|
/* measure */ r: () => void;
|
|
|
|
/* fix */ f: () => void;
|
|
|
|
/* fix */ f: () => void;
|
|
|
|
/* animate */ a: () => void;
|
|
|
|
/* animate */ a: () => void;
|
|
|
@ -24,7 +24,7 @@ export interface Fragment {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
interface T$$ {
|
|
|
|
interface T$$ {
|
|
|
|
dirty: number[];
|
|
|
|
dirty: number[];
|
|
|
|
ctx: null | any;
|
|
|
|
ctx: any[];
|
|
|
|
bound: any;
|
|
|
|
bound: any;
|
|
|
|
update: () => void;
|
|
|
|
update: () => void;
|
|
|
|
callbacks: any;
|
|
|
|
callbacks: any;
|
|
|
@ -110,7 +110,7 @@ export function init(component, options, instance, create_fragment, not_equal, p
|
|
|
|
|
|
|
|
|
|
|
|
const $$: T$$ = component.$$ = {
|
|
|
|
const $$: T$$ = component.$$ = {
|
|
|
|
fragment: null,
|
|
|
|
fragment: null,
|
|
|
|
ctx: null,
|
|
|
|
ctx: [],
|
|
|
|
|
|
|
|
|
|
|
|
// state
|
|
|
|
// state
|
|
|
|
props,
|
|
|
|
props,
|
|
|
|