cradova 3.15.2 → 3.15.4
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/index.js +2 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -528,7 +528,7 @@ class Signal {
|
|
|
528
528
|
const s = new Set;
|
|
529
529
|
this.queue.add("__ALL__");
|
|
530
530
|
for (const k of this.queue) {
|
|
531
|
-
if (this.picker.hasOwnProperty(k)) {
|
|
531
|
+
if (this.picker.hasOwnProperty(k) || k === "__ALL__") {
|
|
532
532
|
const subs2 = this.subscribers[k];
|
|
533
533
|
if (subs2) {
|
|
534
534
|
for (const fn of subs2) {
|
|
@@ -792,8 +792,7 @@ class List {
|
|
|
792
792
|
this.diffDOMBeforeUpdatingState(newState);
|
|
793
793
|
}
|
|
794
794
|
set(newData) {
|
|
795
|
-
const newState =
|
|
796
|
-
this.state = newData instanceof Function ? newData(this.state) : newData || [];
|
|
795
|
+
const newState = newData instanceof Function ? newData(this.state) : newData;
|
|
797
796
|
this.diffDOMBeforeUpdatingState(newState);
|
|
798
797
|
}
|
|
799
798
|
}
|