|
|
@ -139,16 +139,15 @@ export function getAllContexts() {
|
|
|
|
* @returns {void}
|
|
|
|
* @returns {void}
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export function push(props, runes = false, fn) {
|
|
|
|
export function push(props, runes = false, fn) {
|
|
|
|
var ctx = (component_context = {
|
|
|
|
component_context = {
|
|
|
|
p: component_context,
|
|
|
|
p: component_context,
|
|
|
|
c: null,
|
|
|
|
c: null,
|
|
|
|
d: false,
|
|
|
|
|
|
|
|
e: null,
|
|
|
|
e: null,
|
|
|
|
m: false,
|
|
|
|
m: false,
|
|
|
|
s: props,
|
|
|
|
s: props,
|
|
|
|
x: null,
|
|
|
|
x: null,
|
|
|
|
l: null
|
|
|
|
l: null
|
|
|
|
});
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
if (legacy_mode_flag && !runes) {
|
|
|
|
if (legacy_mode_flag && !runes) {
|
|
|
|
component_context.l = {
|
|
|
|
component_context.l = {
|
|
|
@ -159,10 +158,6 @@ export function push(props, runes = false, fn) {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
teardown(() => {
|
|
|
|
|
|
|
|
/** @type {ComponentContext} */ (ctx).d = true;
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (DEV) {
|
|
|
|
if (DEV) {
|
|
|
|
// component function
|
|
|
|
// component function
|
|
|
|
component_context.function = fn;
|
|
|
|
component_context.function = fn;
|
|
|
|