mol_wire_lib 1.0.1058 → 1.0.1060
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 +5 -15
- package/node.d.ts.map +1 -1
- package/node.deps.json +1 -1
- package/node.js +9 -33
- package/node.js.map +1 -1
- package/node.mjs +9 -33
- package/node.test.js +10 -43
- package/node.test.js.map +1 -1
- package/package.json +2 -3
- package/web.d.ts +5 -15
- package/web.d.ts.map +1 -1
- package/web.deps.json +1 -1
- package/web.js +9 -33
- package/web.js.map +1 -1
- package/web.mjs +9 -33
- package/web.test.js +1 -10
- package/web.test.js.map +1 -1
package/web.mjs
CHANGED
|
@@ -575,24 +575,21 @@ var $;
|
|
|
575
575
|
"use strict";
|
|
576
576
|
var $;
|
|
577
577
|
(function ($) {
|
|
578
|
-
class $
|
|
578
|
+
class $mol_after_timeout extends $mol_object2 {
|
|
579
|
+
delay;
|
|
579
580
|
task;
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
constructor(task) {
|
|
581
|
+
id;
|
|
582
|
+
constructor(delay, task) {
|
|
583
583
|
super();
|
|
584
|
+
this.delay = delay;
|
|
584
585
|
this.task = task;
|
|
585
|
-
this.
|
|
586
|
-
if (this.cancelled)
|
|
587
|
-
return;
|
|
588
|
-
task();
|
|
589
|
-
});
|
|
586
|
+
this.id = setTimeout(task, delay);
|
|
590
587
|
}
|
|
591
588
|
destructor() {
|
|
592
|
-
this.
|
|
589
|
+
clearTimeout(this.id);
|
|
593
590
|
}
|
|
594
591
|
}
|
|
595
|
-
$.$
|
|
592
|
+
$.$mol_after_timeout = $mol_after_timeout;
|
|
596
593
|
})($ || ($ = {}));
|
|
597
594
|
|
|
598
595
|
;
|
|
@@ -620,7 +617,7 @@ var $;
|
|
|
620
617
|
static plan() {
|
|
621
618
|
if (this.plan_task)
|
|
622
619
|
return;
|
|
623
|
-
this.plan_task = new $
|
|
620
|
+
this.plan_task = new $mol_after_timeout(0, () => {
|
|
624
621
|
try {
|
|
625
622
|
this.sync();
|
|
626
623
|
}
|
|
@@ -1671,27 +1668,6 @@ var $;
|
|
|
1671
1668
|
$.$mol_mem_key = $mol_wire_plex;
|
|
1672
1669
|
})($ || ($ = {}));
|
|
1673
1670
|
|
|
1674
|
-
;
|
|
1675
|
-
"use strict";
|
|
1676
|
-
var $;
|
|
1677
|
-
(function ($) {
|
|
1678
|
-
class $mol_after_timeout extends $mol_object2 {
|
|
1679
|
-
delay;
|
|
1680
|
-
task;
|
|
1681
|
-
id;
|
|
1682
|
-
constructor(delay, task) {
|
|
1683
|
-
super();
|
|
1684
|
-
this.delay = delay;
|
|
1685
|
-
this.task = task;
|
|
1686
|
-
this.id = setTimeout(task, delay);
|
|
1687
|
-
}
|
|
1688
|
-
destructor() {
|
|
1689
|
-
clearTimeout(this.id);
|
|
1690
|
-
}
|
|
1691
|
-
}
|
|
1692
|
-
$.$mol_after_timeout = $mol_after_timeout;
|
|
1693
|
-
})($ || ($ = {}));
|
|
1694
|
-
|
|
1695
1671
|
;
|
|
1696
1672
|
"use strict";
|
|
1697
1673
|
var $;
|
package/web.test.js
CHANGED
|
@@ -1115,7 +1115,7 @@ var $;
|
|
|
1115
1115
|
var $;
|
|
1116
1116
|
(function ($_1) {
|
|
1117
1117
|
$mol_test_mocks.push($ => {
|
|
1118
|
-
$.$
|
|
1118
|
+
$.$mol_after_timeout = $mol_after_mock_timeout;
|
|
1119
1119
|
});
|
|
1120
1120
|
})($ || ($ = {}));
|
|
1121
1121
|
|
|
@@ -1284,15 +1284,6 @@ var $;
|
|
|
1284
1284
|
$mol_test_mocks.push($ => $.$mol_fail_log = () => false);
|
|
1285
1285
|
})($ || ($ = {}));
|
|
1286
1286
|
|
|
1287
|
-
;
|
|
1288
|
-
"use strict";
|
|
1289
|
-
var $;
|
|
1290
|
-
(function ($_1) {
|
|
1291
|
-
$mol_test_mocks.push($ => {
|
|
1292
|
-
$.$mol_after_timeout = $mol_after_mock_timeout;
|
|
1293
|
-
});
|
|
1294
|
-
})($ || ($ = {}));
|
|
1295
|
-
|
|
1296
1287
|
;
|
|
1297
1288
|
"use strict";
|
|
1298
1289
|
var $;
|