mol_plot_all 1.2.241 → 1.2.242

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/node.test.js CHANGED
@@ -1731,26 +1731,7 @@ var $;
1731
1731
  }
1732
1732
  }
1733
1733
  resync(...args) {
1734
- let res;
1735
- try {
1736
- res = this.recall(...args);
1737
- }
1738
- catch (error) {
1739
- if (error instanceof Promise)
1740
- $mol_fail_hidden(error);
1741
- res = error;
1742
- }
1743
- try {
1744
- this.once();
1745
- }
1746
- catch (error) {
1747
- if (error instanceof Promise)
1748
- $mol_fail_hidden(error);
1749
- }
1750
- return this.put(res);
1751
- }
1752
- recall(...args) {
1753
- return this.task.call(this.host, ...args);
1734
+ return this.put(this.task.call(this.host, ...args));
1754
1735
  }
1755
1736
  once() {
1756
1737
  return this.sync();
@@ -1799,9 +1780,6 @@ var $;
1799
1780
  __decorate([
1800
1781
  $mol_wire_method
1801
1782
  ], $mol_wire_atom.prototype, "resync", null);
1802
- __decorate([
1803
- $mol_wire_method
1804
- ], $mol_wire_atom.prototype, "recall", null);
1805
1783
  __decorate([
1806
1784
  $mol_wire_method
1807
1785
  ], $mol_wire_atom.prototype, "once", null);
@@ -6980,33 +6958,6 @@ var $;
6980
6958
  ], App, "test", null);
6981
6959
  App.test();
6982
6960
  },
6983
- 'Update deps on push'($) {
6984
- class App extends $mol_object2 {
6985
- static $ = $;
6986
- static left(next = false) {
6987
- return next;
6988
- }
6989
- static right(next = false) {
6990
- return next;
6991
- }
6992
- static res(next) {
6993
- return this.left(next) && this.right();
6994
- }
6995
- }
6996
- __decorate([
6997
- $mol_wire_mem(0)
6998
- ], App, "left", null);
6999
- __decorate([
7000
- $mol_wire_mem(0)
7001
- ], App, "right", null);
7002
- __decorate([
7003
- $mol_wire_mem(0)
7004
- ], App, "res", null);
7005
- $mol_assert_equal(App.res(), false);
7006
- $mol_assert_equal(App.res(true), false);
7007
- $mol_assert_equal(App.right(true), true);
7008
- $mol_assert_equal(App.res(), true);
7009
- },
7010
6961
  'Different order of pull and push'($) {
7011
6962
  class App extends $mol_object2 {
7012
6963
  static $ = $;
@@ -7017,6 +6968,8 @@ var $;
7017
6968
  return this.store(next);
7018
6969
  }
7019
6970
  static slow(next) {
6971
+ if (next !== undefined)
6972
+ this.slow();
7020
6973
  return this.store(next);
7021
6974
  }
7022
6975
  }