mol_plot_all 1.2.515 → 1.2.517
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.d.ts +1 -0
- package/node.deps.json +1 -1
- package/node.js +5 -2
- package/node.js.map +1 -1
- package/{node.esm.js → node.mjs} +6 -3
- package/node.mjs.map +1 -0
- package/node.test.js +5 -2
- package/node.test.js.map +1 -1
- package/package.json +14 -5
- package/web.d.ts +1 -0
- package/web.deps.json +1 -1
- package/web.js +5 -2
- package/web.js.map +1 -1
- package/{web.esm.js → web.mjs} +6 -3
- package/web.mjs.map +1 -0
- package/node.esm.js.map +0 -1
- package/web.esm.js.map +0 -1
package/node.test.js
CHANGED
|
@@ -1873,8 +1873,9 @@ var $;
|
|
|
1873
1873
|
return fiber;
|
|
1874
1874
|
}
|
|
1875
1875
|
static watching = new Set();
|
|
1876
|
+
static watcher = null;
|
|
1876
1877
|
static watch() {
|
|
1877
|
-
new $mol_after_frame($mol_wire_atom.watch);
|
|
1878
|
+
$mol_wire_atom.watcher = new $mol_after_frame($mol_wire_atom.watch);
|
|
1878
1879
|
for (const atom of $mol_wire_atom.watching) {
|
|
1879
1880
|
if (atom.cursor === $mol_wire_cursor.final) {
|
|
1880
1881
|
$mol_wire_atom.watching.delete(atom);
|
|
@@ -1886,6 +1887,9 @@ var $;
|
|
|
1886
1887
|
}
|
|
1887
1888
|
}
|
|
1888
1889
|
watch() {
|
|
1890
|
+
if (!$mol_wire_atom.watcher) {
|
|
1891
|
+
$mol_wire_atom.watcher = new $mol_after_frame($mol_wire_atom.watch);
|
|
1892
|
+
}
|
|
1889
1893
|
$mol_wire_atom.watching.add(this);
|
|
1890
1894
|
}
|
|
1891
1895
|
resync(args) {
|
|
@@ -1962,7 +1966,6 @@ var $;
|
|
|
1962
1966
|
$mol_wire_method
|
|
1963
1967
|
], $mol_wire_atom.prototype, "once", null);
|
|
1964
1968
|
$.$mol_wire_atom = $mol_wire_atom;
|
|
1965
|
-
$mol_wire_atom.watch();
|
|
1966
1969
|
})($ || ($ = {}));
|
|
1967
1970
|
//mol/wire/atom/atom.ts
|
|
1968
1971
|
;
|