marko 6.0.71 → 6.0.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/debug/dom.js +1 -1
- package/dist/debug/dom.mjs +1 -1
- package/dist/dom.js +1 -1
- package/dist/dom.mjs +1 -1
- package/package.json +1 -1
package/dist/debug/dom.js
CHANGED
@@ -1004,7 +1004,7 @@ function _if_closure(valueAccessor, ownerConditionalNodeAccessor, branch, fn) {
|
|
1004
1004
|
const branchAccessor = "ConditionalRenderer:" /* ConditionalRenderer */ + ownerConditionalNodeAccessor;
|
1005
1005
|
const ownerSignal = (scope) => {
|
1006
1006
|
const ifScope = scope[scopeAccessor];
|
1007
|
-
if (ifScope && !ifScope.___creating && scope[branchAccessor] === branch) {
|
1007
|
+
if (ifScope && !ifScope.___creating && (scope[branchAccessor] ?? branch) === branch) {
|
1008
1008
|
queueRender(ifScope, childSignal, -1);
|
1009
1009
|
}
|
1010
1010
|
};
|
package/dist/debug/dom.mjs
CHANGED
@@ -905,7 +905,7 @@ function _if_closure(valueAccessor, ownerConditionalNodeAccessor, branch, fn) {
|
|
905
905
|
const branchAccessor = "ConditionalRenderer:" /* ConditionalRenderer */ + ownerConditionalNodeAccessor;
|
906
906
|
const ownerSignal = (scope) => {
|
907
907
|
const ifScope = scope[scopeAccessor];
|
908
|
-
if (ifScope && !ifScope.___creating && scope[branchAccessor] === branch) {
|
908
|
+
if (ifScope && !ifScope.___creating && (scope[branchAccessor] ?? branch) === branch) {
|
909
909
|
queueRender(ifScope, childSignal, -1);
|
910
910
|
}
|
911
911
|
};
|
package/dist/dom.js
CHANGED
@@ -643,7 +643,7 @@ function _for_closure(valueAccessor, ownerLoopNodeAccessor, fn) {
|
|
643
643
|
function _if_closure(valueAccessor, ownerConditionalNodeAccessor, branch, fn) {
|
644
644
|
let childSignal = closure(valueAccessor, fn), scopeAccessor = "d" /* ConditionalScope */ + ownerConditionalNodeAccessor, branchAccessor = "c" /* ConditionalRenderer */ + ownerConditionalNodeAccessor, ownerSignal = (scope) => {
|
645
645
|
let ifScope = scope[scopeAccessor];
|
646
|
-
ifScope && !ifScope.q && scope[branchAccessor] === branch && queueRender(ifScope, childSignal, -1);
|
646
|
+
ifScope && !ifScope.q && (scope[branchAccessor] ?? branch) === branch && queueRender(ifScope, childSignal, -1);
|
647
647
|
};
|
648
648
|
return ownerSignal._ = childSignal, ownerSignal;
|
649
649
|
}
|
package/dist/dom.mjs
CHANGED
@@ -547,7 +547,7 @@ function _for_closure(valueAccessor, ownerLoopNodeAccessor, fn) {
|
|
547
547
|
function _if_closure(valueAccessor, ownerConditionalNodeAccessor, branch, fn) {
|
548
548
|
let childSignal = closure(valueAccessor, fn), scopeAccessor = "d" /* ConditionalScope */ + ownerConditionalNodeAccessor, branchAccessor = "c" /* ConditionalRenderer */ + ownerConditionalNodeAccessor, ownerSignal = (scope) => {
|
549
549
|
let ifScope = scope[scopeAccessor];
|
550
|
-
ifScope && !ifScope.q && scope[branchAccessor] === branch && queueRender(ifScope, childSignal, -1);
|
550
|
+
ifScope && !ifScope.q && (scope[branchAccessor] ?? branch) === branch && queueRender(ifScope, childSignal, -1);
|
551
551
|
};
|
552
552
|
return ownerSignal._ = childSignal, ownerSignal;
|
553
553
|
}
|