mol_tree2 1.0.738 → 1.0.740
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.test.js +43 -43
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.test.js +43 -43
- package/web.test.js.map +1 -1
package/node.test.js
CHANGED
|
@@ -4457,24 +4457,21 @@ var $;
|
|
|
4457
4457
|
"use strict";
|
|
4458
4458
|
var $;
|
|
4459
4459
|
(function ($) {
|
|
4460
|
-
class $
|
|
4460
|
+
class $mol_after_timeout extends $mol_object2 {
|
|
4461
|
+
delay;
|
|
4461
4462
|
task;
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
constructor(task) {
|
|
4463
|
+
id;
|
|
4464
|
+
constructor(delay, task) {
|
|
4465
4465
|
super();
|
|
4466
|
+
this.delay = delay;
|
|
4466
4467
|
this.task = task;
|
|
4467
|
-
this.
|
|
4468
|
-
if (this.cancelled)
|
|
4469
|
-
return;
|
|
4470
|
-
task();
|
|
4471
|
-
});
|
|
4468
|
+
this.id = setTimeout(task, delay);
|
|
4472
4469
|
}
|
|
4473
4470
|
destructor() {
|
|
4474
|
-
this.
|
|
4471
|
+
clearTimeout(this.id);
|
|
4475
4472
|
}
|
|
4476
4473
|
}
|
|
4477
|
-
$.$
|
|
4474
|
+
$.$mol_after_timeout = $mol_after_timeout;
|
|
4478
4475
|
})($ || ($ = {}));
|
|
4479
4476
|
|
|
4480
4477
|
;
|
|
@@ -4482,7 +4479,7 @@ var $;
|
|
|
4482
4479
|
var $;
|
|
4483
4480
|
(function ($_1) {
|
|
4484
4481
|
$mol_test_mocks.push($ => {
|
|
4485
|
-
$.$
|
|
4482
|
+
$.$mol_after_timeout = $mol_after_mock_timeout;
|
|
4486
4483
|
});
|
|
4487
4484
|
})($ || ($ = {}));
|
|
4488
4485
|
|
|
@@ -4501,7 +4498,7 @@ var $;
|
|
|
4501
4498
|
static plan() {
|
|
4502
4499
|
if (this.plan_task)
|
|
4503
4500
|
return;
|
|
4504
|
-
this.plan_task = new $
|
|
4501
|
+
this.plan_task = new $mol_after_timeout(0, () => {
|
|
4505
4502
|
try {
|
|
4506
4503
|
this.sync();
|
|
4507
4504
|
}
|
|
@@ -4907,36 +4904,6 @@ var $;
|
|
|
4907
4904
|
$.$mol_promise = $mol_promise;
|
|
4908
4905
|
})($ || ($ = {}));
|
|
4909
4906
|
|
|
4910
|
-
;
|
|
4911
|
-
"use strict";
|
|
4912
|
-
var $;
|
|
4913
|
-
(function ($) {
|
|
4914
|
-
class $mol_after_timeout extends $mol_object2 {
|
|
4915
|
-
delay;
|
|
4916
|
-
task;
|
|
4917
|
-
id;
|
|
4918
|
-
constructor(delay, task) {
|
|
4919
|
-
super();
|
|
4920
|
-
this.delay = delay;
|
|
4921
|
-
this.task = task;
|
|
4922
|
-
this.id = setTimeout(task, delay);
|
|
4923
|
-
}
|
|
4924
|
-
destructor() {
|
|
4925
|
-
clearTimeout(this.id);
|
|
4926
|
-
}
|
|
4927
|
-
}
|
|
4928
|
-
$.$mol_after_timeout = $mol_after_timeout;
|
|
4929
|
-
})($ || ($ = {}));
|
|
4930
|
-
|
|
4931
|
-
;
|
|
4932
|
-
"use strict";
|
|
4933
|
-
var $;
|
|
4934
|
-
(function ($_1) {
|
|
4935
|
-
$mol_test_mocks.push($ => {
|
|
4936
|
-
$.$mol_after_timeout = $mol_after_mock_timeout;
|
|
4937
|
-
});
|
|
4938
|
-
})($ || ($ = {}));
|
|
4939
|
-
|
|
4940
4907
|
;
|
|
4941
4908
|
"use strict";
|
|
4942
4909
|
var $;
|
|
@@ -5800,6 +5767,39 @@ var $;
|
|
|
5800
5767
|
$.$mol_mem_key = $mol_wire_plex;
|
|
5801
5768
|
})($ || ($ = {}));
|
|
5802
5769
|
|
|
5770
|
+
;
|
|
5771
|
+
"use strict";
|
|
5772
|
+
var $;
|
|
5773
|
+
(function ($) {
|
|
5774
|
+
class $mol_after_tick extends $mol_object2 {
|
|
5775
|
+
task;
|
|
5776
|
+
promise;
|
|
5777
|
+
cancelled = false;
|
|
5778
|
+
constructor(task) {
|
|
5779
|
+
super();
|
|
5780
|
+
this.task = task;
|
|
5781
|
+
this.promise = Promise.resolve().then(() => {
|
|
5782
|
+
if (this.cancelled)
|
|
5783
|
+
return;
|
|
5784
|
+
task();
|
|
5785
|
+
});
|
|
5786
|
+
}
|
|
5787
|
+
destructor() {
|
|
5788
|
+
this.cancelled = true;
|
|
5789
|
+
}
|
|
5790
|
+
}
|
|
5791
|
+
$.$mol_after_tick = $mol_after_tick;
|
|
5792
|
+
})($ || ($ = {}));
|
|
5793
|
+
|
|
5794
|
+
;
|
|
5795
|
+
"use strict";
|
|
5796
|
+
var $;
|
|
5797
|
+
(function ($_1) {
|
|
5798
|
+
$mol_test_mocks.push($ => {
|
|
5799
|
+
$.$mol_after_tick = $mol_after_mock_commmon;
|
|
5800
|
+
});
|
|
5801
|
+
})($ || ($ = {}));
|
|
5802
|
+
|
|
5803
5803
|
;
|
|
5804
5804
|
"use strict";
|
|
5805
5805
|
var $;
|