Comparing version
@@ -208,5 +208,5 @@ "use strict"; | ||
constructor(renders, runtimeId, renderId) { | ||
Object.assign(this, renders[renderId]), this.F = renders, this.G = runtimeId, this.t = renderId, this.w = /* @__PURE__ */ ((w) => () => { | ||
w(), this.u(); | ||
})(this.w), this.u(); | ||
Object.assign(this, renders[renderId]), this.F = renders, this.G = runtimeId, this.t = renderId, this.H = this.w, this.u(), this.w = () => { | ||
this.H(), this.u(); | ||
}; | ||
} | ||
@@ -735,3 +735,3 @@ u() { | ||
function destroyNestedBranches(branch) { | ||
branch.y = 1, branch.n?.forEach(destroyNestedBranches), branch.H?.forEach((scope) => { | ||
branch.y = 1, branch.n?.forEach(destroyNestedBranches), branch.I?.forEach((scope) => { | ||
for (let id in scope.k) | ||
@@ -763,3 +763,3 @@ scope.k[id]?.abort(); | ||
A: scope, | ||
I: signal, | ||
J: signal, | ||
z: value2 | ||
@@ -817,3 +817,3 @@ }, i = pendingRenders.push(render) - 1; | ||
} | ||
render.A.c?.y || render.I(render.A, render.z); | ||
render.A.c?.y || render.J(render.A, render.z); | ||
} | ||
@@ -829,3 +829,3 @@ finishPendingScopes(); | ||
function getAbortSignal(scope, id) { | ||
return scope.c && (scope.c.H ||= /* @__PURE__ */ new Set()).add(scope), ((scope.k ||= {})[id] ||= new AbortController()).signal; | ||
return scope.c && (scope.c.I ||= /* @__PURE__ */ new Set()).add(scope), ((scope.k ||= {})[id] ||= new AbortController()).signal; | ||
} | ||
@@ -1107,3 +1107,3 @@ function abort(ctrl) { | ||
for (let i = closureSignals.length; i--; ) | ||
closureSignals[i].J = i; | ||
closureSignals[i].K = i; | ||
return (scope) => { | ||
@@ -1121,3 +1121,3 @@ if (scope[___scopeInstancesAccessor]) | ||
let childSignal = closure(valueAccessor, fn, getOwnerScope), closureSignal = (scope) => { | ||
scope[closureSignal.D] = closureSignal.J, childSignal(scope), subscribeToScopeSet( | ||
scope[closureSignal.D] = closureSignal.K, childSignal(scope), subscribeToScopeSet( | ||
getOwnerScope ? getOwnerScope(scope) : scope._, | ||
@@ -1124,0 +1124,0 @@ closureSignal.C, |
{ | ||
"name": "marko", | ||
"version": "6.0.0-next.3.54", | ||
"version": "6.0.0-next.3.55", | ||
"description": "Optimized runtime for Marko templates.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
32538
0.01%1138718
0