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.esm.js → node.mjs}
RENAMED
|
@@ -1881,8 +1881,9 @@ var $;
|
|
|
1881
1881
|
return fiber;
|
|
1882
1882
|
}
|
|
1883
1883
|
static watching = new Set();
|
|
1884
|
+
static watcher = null;
|
|
1884
1885
|
static watch() {
|
|
1885
|
-
new $mol_after_frame($mol_wire_atom.watch);
|
|
1886
|
+
$mol_wire_atom.watcher = new $mol_after_frame($mol_wire_atom.watch);
|
|
1886
1887
|
for (const atom of $mol_wire_atom.watching) {
|
|
1887
1888
|
if (atom.cursor === $mol_wire_cursor.final) {
|
|
1888
1889
|
$mol_wire_atom.watching.delete(atom);
|
|
@@ -1894,6 +1895,9 @@ var $;
|
|
|
1894
1895
|
}
|
|
1895
1896
|
}
|
|
1896
1897
|
watch() {
|
|
1898
|
+
if (!$mol_wire_atom.watcher) {
|
|
1899
|
+
$mol_wire_atom.watcher = new $mol_after_frame($mol_wire_atom.watch);
|
|
1900
|
+
}
|
|
1897
1901
|
$mol_wire_atom.watching.add(this);
|
|
1898
1902
|
}
|
|
1899
1903
|
resync(args) {
|
|
@@ -1970,7 +1974,6 @@ var $;
|
|
|
1970
1974
|
$mol_wire_method
|
|
1971
1975
|
], $mol_wire_atom.prototype, "once", null);
|
|
1972
1976
|
$.$mol_wire_atom = $mol_wire_atom;
|
|
1973
|
-
$mol_wire_atom.watch();
|
|
1974
1977
|
})($ || ($ = {}));
|
|
1975
1978
|
//mol/wire/atom/atom.ts
|
|
1976
1979
|
;
|
|
@@ -6054,4 +6057,4 @@ var $;
|
|
|
6054
6057
|
//mol/plot/mark/hor/hor.view.ts
|
|
6055
6058
|
;
|
|
6056
6059
|
export default $
|
|
6057
|
-
//# sourceMappingURL=node.
|
|
6060
|
+
//# sourceMappingURL=node.mjs.map
|