mol_jsx_lib 0.0.924 → 0.0.926
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/node.mjs
CHANGED
|
@@ -1462,24 +1462,21 @@ var $;
|
|
|
1462
1462
|
"use strict";
|
|
1463
1463
|
var $;
|
|
1464
1464
|
(function ($) {
|
|
1465
|
-
class $
|
|
1465
|
+
class $mol_after_timeout extends $mol_object2 {
|
|
1466
|
+
delay;
|
|
1466
1467
|
task;
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
constructor(task) {
|
|
1468
|
+
id;
|
|
1469
|
+
constructor(delay, task) {
|
|
1470
1470
|
super();
|
|
1471
|
+
this.delay = delay;
|
|
1471
1472
|
this.task = task;
|
|
1472
|
-
this.
|
|
1473
|
-
if (this.cancelled)
|
|
1474
|
-
return;
|
|
1475
|
-
task();
|
|
1476
|
-
});
|
|
1473
|
+
this.id = setTimeout(task, delay);
|
|
1477
1474
|
}
|
|
1478
1475
|
destructor() {
|
|
1479
|
-
this.
|
|
1476
|
+
clearTimeout(this.id);
|
|
1480
1477
|
}
|
|
1481
1478
|
}
|
|
1482
|
-
$.$
|
|
1479
|
+
$.$mol_after_timeout = $mol_after_timeout;
|
|
1483
1480
|
})($ || ($ = {}));
|
|
1484
1481
|
|
|
1485
1482
|
;
|
|
@@ -1497,7 +1494,7 @@ var $;
|
|
|
1497
1494
|
static plan() {
|
|
1498
1495
|
if (this.plan_task)
|
|
1499
1496
|
return;
|
|
1500
|
-
this.plan_task = new $
|
|
1497
|
+
this.plan_task = new $mol_after_timeout(0, () => {
|
|
1501
1498
|
try {
|
|
1502
1499
|
this.sync();
|
|
1503
1500
|
}
|
|
@@ -1771,27 +1768,6 @@ var $;
|
|
|
1771
1768
|
$.$mol_key = $mol_key;
|
|
1772
1769
|
})($ || ($ = {}));
|
|
1773
1770
|
|
|
1774
|
-
;
|
|
1775
|
-
"use strict";
|
|
1776
|
-
var $;
|
|
1777
|
-
(function ($) {
|
|
1778
|
-
class $mol_after_timeout extends $mol_object2 {
|
|
1779
|
-
delay;
|
|
1780
|
-
task;
|
|
1781
|
-
id;
|
|
1782
|
-
constructor(delay, task) {
|
|
1783
|
-
super();
|
|
1784
|
-
this.delay = delay;
|
|
1785
|
-
this.task = task;
|
|
1786
|
-
this.id = setTimeout(task, delay);
|
|
1787
|
-
}
|
|
1788
|
-
destructor() {
|
|
1789
|
-
clearTimeout(this.id);
|
|
1790
|
-
}
|
|
1791
|
-
}
|
|
1792
|
-
$.$mol_after_timeout = $mol_after_timeout;
|
|
1793
|
-
})($ || ($ = {}));
|
|
1794
|
-
|
|
1795
1771
|
;
|
|
1796
1772
|
"use strict";
|
|
1797
1773
|
var $;
|
package/node.test.js
CHANGED
|
@@ -1453,24 +1453,21 @@ var $;
|
|
|
1453
1453
|
"use strict";
|
|
1454
1454
|
var $;
|
|
1455
1455
|
(function ($) {
|
|
1456
|
-
class $
|
|
1456
|
+
class $mol_after_timeout extends $mol_object2 {
|
|
1457
|
+
delay;
|
|
1457
1458
|
task;
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
constructor(task) {
|
|
1459
|
+
id;
|
|
1460
|
+
constructor(delay, task) {
|
|
1461
1461
|
super();
|
|
1462
|
+
this.delay = delay;
|
|
1462
1463
|
this.task = task;
|
|
1463
|
-
this.
|
|
1464
|
-
if (this.cancelled)
|
|
1465
|
-
return;
|
|
1466
|
-
task();
|
|
1467
|
-
});
|
|
1464
|
+
this.id = setTimeout(task, delay);
|
|
1468
1465
|
}
|
|
1469
1466
|
destructor() {
|
|
1470
|
-
this.
|
|
1467
|
+
clearTimeout(this.id);
|
|
1471
1468
|
}
|
|
1472
1469
|
}
|
|
1473
|
-
$.$
|
|
1470
|
+
$.$mol_after_timeout = $mol_after_timeout;
|
|
1474
1471
|
})($ || ($ = {}));
|
|
1475
1472
|
|
|
1476
1473
|
;
|
|
@@ -1488,7 +1485,7 @@ var $;
|
|
|
1488
1485
|
static plan() {
|
|
1489
1486
|
if (this.plan_task)
|
|
1490
1487
|
return;
|
|
1491
|
-
this.plan_task = new $
|
|
1488
|
+
this.plan_task = new $mol_after_timeout(0, () => {
|
|
1492
1489
|
try {
|
|
1493
1490
|
this.sync();
|
|
1494
1491
|
}
|
|
@@ -1762,27 +1759,6 @@ var $;
|
|
|
1762
1759
|
$.$mol_key = $mol_key;
|
|
1763
1760
|
})($ || ($ = {}));
|
|
1764
1761
|
|
|
1765
|
-
;
|
|
1766
|
-
"use strict";
|
|
1767
|
-
var $;
|
|
1768
|
-
(function ($) {
|
|
1769
|
-
class $mol_after_timeout extends $mol_object2 {
|
|
1770
|
-
delay;
|
|
1771
|
-
task;
|
|
1772
|
-
id;
|
|
1773
|
-
constructor(delay, task) {
|
|
1774
|
-
super();
|
|
1775
|
-
this.delay = delay;
|
|
1776
|
-
this.task = task;
|
|
1777
|
-
this.id = setTimeout(task, delay);
|
|
1778
|
-
}
|
|
1779
|
-
destructor() {
|
|
1780
|
-
clearTimeout(this.id);
|
|
1781
|
-
}
|
|
1782
|
-
}
|
|
1783
|
-
$.$mol_after_timeout = $mol_after_timeout;
|
|
1784
|
-
})($ || ($ = {}));
|
|
1785
|
-
|
|
1786
1762
|
;
|
|
1787
1763
|
"use strict";
|
|
1788
1764
|
var $;
|
|
@@ -3560,7 +3536,7 @@ var $;
|
|
|
3560
3536
|
var $;
|
|
3561
3537
|
(function ($_1) {
|
|
3562
3538
|
$mol_test_mocks.push($ => {
|
|
3563
|
-
$.$
|
|
3539
|
+
$.$mol_after_timeout = $mol_after_mock_timeout;
|
|
3564
3540
|
});
|
|
3565
3541
|
})($ || ($ = {}));
|
|
3566
3542
|
|
|
@@ -3707,15 +3683,6 @@ var $;
|
|
|
3707
3683
|
});
|
|
3708
3684
|
})($ || ($ = {}));
|
|
3709
3685
|
|
|
3710
|
-
;
|
|
3711
|
-
"use strict";
|
|
3712
|
-
var $;
|
|
3713
|
-
(function ($_1) {
|
|
3714
|
-
$mol_test_mocks.push($ => {
|
|
3715
|
-
$.$mol_after_timeout = $mol_after_mock_timeout;
|
|
3716
|
-
});
|
|
3717
|
-
})($ || ($ = {}));
|
|
3718
|
-
|
|
3719
3686
|
;
|
|
3720
3687
|
"use strict";
|
|
3721
3688
|
var $;
|