mol_plot_all 1.2.516 → 1.2.518
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/{web.esm.js → web.mjs}
RENAMED
|
@@ -1358,8 +1358,9 @@ var $;
|
|
|
1358
1358
|
return fiber;
|
|
1359
1359
|
}
|
|
1360
1360
|
static watching = new Set();
|
|
1361
|
+
static watcher = null;
|
|
1361
1362
|
static watch() {
|
|
1362
|
-
new $mol_after_frame($mol_wire_atom.watch);
|
|
1363
|
+
$mol_wire_atom.watcher = new $mol_after_frame($mol_wire_atom.watch);
|
|
1363
1364
|
for (const atom of $mol_wire_atom.watching) {
|
|
1364
1365
|
if (atom.cursor === $mol_wire_cursor.final) {
|
|
1365
1366
|
$mol_wire_atom.watching.delete(atom);
|
|
@@ -1371,6 +1372,9 @@ var $;
|
|
|
1371
1372
|
}
|
|
1372
1373
|
}
|
|
1373
1374
|
watch() {
|
|
1375
|
+
if (!$mol_wire_atom.watcher) {
|
|
1376
|
+
$mol_wire_atom.watcher = new $mol_after_frame($mol_wire_atom.watch);
|
|
1377
|
+
}
|
|
1374
1378
|
$mol_wire_atom.watching.add(this);
|
|
1375
1379
|
}
|
|
1376
1380
|
resync(args) {
|
|
@@ -1447,7 +1451,6 @@ var $;
|
|
|
1447
1451
|
$mol_wire_method
|
|
1448
1452
|
], $mol_wire_atom.prototype, "once", null);
|
|
1449
1453
|
$.$mol_wire_atom = $mol_wire_atom;
|
|
1450
|
-
$mol_wire_atom.watch();
|
|
1451
1454
|
})($ || ($ = {}));
|
|
1452
1455
|
//mol/wire/atom/atom.ts
|
|
1453
1456
|
;
|
|
@@ -5604,4 +5607,4 @@ var $;
|
|
|
5604
5607
|
//mol/plot/mark/hor/hor.view.ts
|
|
5605
5608
|
;
|
|
5606
5609
|
export default $
|
|
5607
|
-
//# sourceMappingURL=web.
|
|
5610
|
+
//# sourceMappingURL=web.mjs.map
|