mol_dump_lib 0.0.371 → 0.0.373
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 +67 -67
- package/node.d.ts.map +1 -1
- package/node.deps.json +1 -1
- package/node.js +33 -33
- package/node.js.map +1 -1
- package/node.mjs +33 -33
- package/node.test.js +43 -43
- package/node.test.js.map +1 -1
- package/package.json +3 -3
- package/web.d.ts +67 -67
- package/web.d.ts.map +1 -1
- package/web.deps.json +1 -1
- package/web.js +33 -33
- package/web.js.map +1 -1
- package/web.mjs +33 -33
- package/web.test.js +10 -10
- package/web.test.js.map +1 -1
package/web.mjs
CHANGED
|
@@ -595,24 +595,21 @@ var $;
|
|
|
595
595
|
"use strict";
|
|
596
596
|
var $;
|
|
597
597
|
(function ($) {
|
|
598
|
-
class $
|
|
598
|
+
class $mol_after_timeout extends $mol_object2 {
|
|
599
|
+
delay;
|
|
599
600
|
task;
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
constructor(task) {
|
|
601
|
+
id;
|
|
602
|
+
constructor(delay, task) {
|
|
603
603
|
super();
|
|
604
|
+
this.delay = delay;
|
|
604
605
|
this.task = task;
|
|
605
|
-
this.
|
|
606
|
-
if (this.cancelled)
|
|
607
|
-
return;
|
|
608
|
-
task();
|
|
609
|
-
});
|
|
606
|
+
this.id = setTimeout(task, delay);
|
|
610
607
|
}
|
|
611
608
|
destructor() {
|
|
612
|
-
this.
|
|
609
|
+
clearTimeout(this.id);
|
|
613
610
|
}
|
|
614
611
|
}
|
|
615
|
-
$.$
|
|
612
|
+
$.$mol_after_timeout = $mol_after_timeout;
|
|
616
613
|
})($ || ($ = {}));
|
|
617
614
|
|
|
618
615
|
;
|
|
@@ -640,7 +637,7 @@ var $;
|
|
|
640
637
|
static plan() {
|
|
641
638
|
if (this.plan_task)
|
|
642
639
|
return;
|
|
643
|
-
this.plan_task = new $
|
|
640
|
+
this.plan_task = new $mol_after_timeout(0, () => {
|
|
644
641
|
try {
|
|
645
642
|
this.sync();
|
|
646
643
|
}
|
|
@@ -1527,6 +1524,30 @@ var $;
|
|
|
1527
1524
|
$.$mol_dom_context = self;
|
|
1528
1525
|
})($ || ($ = {}));
|
|
1529
1526
|
|
|
1527
|
+
;
|
|
1528
|
+
"use strict";
|
|
1529
|
+
var $;
|
|
1530
|
+
(function ($) {
|
|
1531
|
+
class $mol_after_tick extends $mol_object2 {
|
|
1532
|
+
task;
|
|
1533
|
+
promise;
|
|
1534
|
+
cancelled = false;
|
|
1535
|
+
constructor(task) {
|
|
1536
|
+
super();
|
|
1537
|
+
this.task = task;
|
|
1538
|
+
this.promise = Promise.resolve().then(() => {
|
|
1539
|
+
if (this.cancelled)
|
|
1540
|
+
return;
|
|
1541
|
+
task();
|
|
1542
|
+
});
|
|
1543
|
+
}
|
|
1544
|
+
destructor() {
|
|
1545
|
+
this.cancelled = true;
|
|
1546
|
+
}
|
|
1547
|
+
}
|
|
1548
|
+
$.$mol_after_tick = $mol_after_tick;
|
|
1549
|
+
})($ || ($ = {}));
|
|
1550
|
+
|
|
1530
1551
|
;
|
|
1531
1552
|
"use strict";
|
|
1532
1553
|
var $;
|
|
@@ -4262,27 +4283,6 @@ var $;
|
|
|
4262
4283
|
};
|
|
4263
4284
|
|
|
4264
4285
|
|
|
4265
|
-
;
|
|
4266
|
-
"use strict";
|
|
4267
|
-
var $;
|
|
4268
|
-
(function ($) {
|
|
4269
|
-
class $mol_after_timeout extends $mol_object2 {
|
|
4270
|
-
delay;
|
|
4271
|
-
task;
|
|
4272
|
-
id;
|
|
4273
|
-
constructor(delay, task) {
|
|
4274
|
-
super();
|
|
4275
|
-
this.delay = delay;
|
|
4276
|
-
this.task = task;
|
|
4277
|
-
this.id = setTimeout(task, delay);
|
|
4278
|
-
}
|
|
4279
|
-
destructor() {
|
|
4280
|
-
clearTimeout(this.id);
|
|
4281
|
-
}
|
|
4282
|
-
}
|
|
4283
|
-
$.$mol_after_timeout = $mol_after_timeout;
|
|
4284
|
-
})($ || ($ = {}));
|
|
4285
|
-
|
|
4286
4286
|
;
|
|
4287
4287
|
"use strict";
|
|
4288
4288
|
var $;
|
package/web.test.js
CHANGED
|
@@ -1060,7 +1060,7 @@ var $;
|
|
|
1060
1060
|
var $;
|
|
1061
1061
|
(function ($_1) {
|
|
1062
1062
|
$mol_test_mocks.push($ => {
|
|
1063
|
-
$.$
|
|
1063
|
+
$.$mol_after_timeout = $mol_after_mock_timeout;
|
|
1064
1064
|
});
|
|
1065
1065
|
})($ || ($ = {}));
|
|
1066
1066
|
|
|
@@ -1168,15 +1168,6 @@ var $;
|
|
|
1168
1168
|
$.$mol_promise = $mol_promise;
|
|
1169
1169
|
})($ || ($ = {}));
|
|
1170
1170
|
|
|
1171
|
-
;
|
|
1172
|
-
"use strict";
|
|
1173
|
-
var $;
|
|
1174
|
-
(function ($_1) {
|
|
1175
|
-
$mol_test_mocks.push($ => {
|
|
1176
|
-
$.$mol_after_timeout = $mol_after_mock_timeout;
|
|
1177
|
-
});
|
|
1178
|
-
})($ || ($ = {}));
|
|
1179
|
-
|
|
1180
1171
|
;
|
|
1181
1172
|
"use strict";
|
|
1182
1173
|
var $;
|
|
@@ -2033,6 +2024,15 @@ var $;
|
|
|
2033
2024
|
$mol_wire_log.active();
|
|
2034
2025
|
})($ || ($ = {}));
|
|
2035
2026
|
|
|
2027
|
+
;
|
|
2028
|
+
"use strict";
|
|
2029
|
+
var $;
|
|
2030
|
+
(function ($_1) {
|
|
2031
|
+
$mol_test_mocks.push($ => {
|
|
2032
|
+
$.$mol_after_tick = $mol_after_mock_commmon;
|
|
2033
|
+
});
|
|
2034
|
+
})($ || ($ = {}));
|
|
2035
|
+
|
|
2036
2036
|
;
|
|
2037
2037
|
"use strict";
|
|
2038
2038
|
var $;
|