|
|
|
@ -49,6 +49,12 @@ export function client_component(source, analysis, options) {
|
|
|
|
hoisted: [b.import_all('$', 'svelte/internal')],
|
|
|
|
hoisted: [b.import_all('$', 'svelte/internal')],
|
|
|
|
node: /** @type {any} */ (null), // populated by the root node
|
|
|
|
node: /** @type {any} */ (null), // populated by the root node
|
|
|
|
// these should be set by create_block - if they're called outside, it's a bug
|
|
|
|
// these should be set by create_block - if they're called outside, it's a bug
|
|
|
|
|
|
|
|
get before_init() {
|
|
|
|
|
|
|
|
/** @type {any[]} */
|
|
|
|
|
|
|
|
const a = [];
|
|
|
|
|
|
|
|
a.push = () => error(null, 'INTERNAL', 'before_init.push should not be called outside create_block');
|
|
|
|
|
|
|
|
return a;
|
|
|
|
|
|
|
|
},
|
|
|
|
get init() {
|
|
|
|
get init() {
|
|
|
|
/** @type {any[]} */
|
|
|
|
/** @type {any[]} */
|
|
|
|
const a = [];
|
|
|
|
const a = [];
|
|
|
|
|