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/web.mjs
CHANGED
|
@@ -798,24 +798,21 @@ var $;
|
|
|
798
798
|
"use strict";
|
|
799
799
|
var $;
|
|
800
800
|
(function ($) {
|
|
801
|
-
class $
|
|
801
|
+
class $mol_after_timeout extends $mol_object2 {
|
|
802
|
+
delay;
|
|
802
803
|
task;
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
constructor(task) {
|
|
804
|
+
id;
|
|
805
|
+
constructor(delay, task) {
|
|
806
806
|
super();
|
|
807
|
+
this.delay = delay;
|
|
807
808
|
this.task = task;
|
|
808
|
-
this.
|
|
809
|
-
if (this.cancelled)
|
|
810
|
-
return;
|
|
811
|
-
task();
|
|
812
|
-
});
|
|
809
|
+
this.id = setTimeout(task, delay);
|
|
813
810
|
}
|
|
814
811
|
destructor() {
|
|
815
|
-
this.
|
|
812
|
+
clearTimeout(this.id);
|
|
816
813
|
}
|
|
817
814
|
}
|
|
818
|
-
$.$
|
|
815
|
+
$.$mol_after_timeout = $mol_after_timeout;
|
|
819
816
|
})($ || ($ = {}));
|
|
820
817
|
|
|
821
818
|
;
|
|
@@ -843,7 +840,7 @@ var $;
|
|
|
843
840
|
static plan() {
|
|
844
841
|
if (this.plan_task)
|
|
845
842
|
return;
|
|
846
|
-
this.plan_task = new $
|
|
843
|
+
this.plan_task = new $mol_after_timeout(0, () => {
|
|
847
844
|
try {
|
|
848
845
|
this.sync();
|
|
849
846
|
}
|
|
@@ -1923,27 +1920,6 @@ var $;
|
|
|
1923
1920
|
$_1.$mol_object = $mol_object;
|
|
1924
1921
|
})($ || ($ = {}));
|
|
1925
1922
|
|
|
1926
|
-
;
|
|
1927
|
-
"use strict";
|
|
1928
|
-
var $;
|
|
1929
|
-
(function ($) {
|
|
1930
|
-
class $mol_after_timeout extends $mol_object2 {
|
|
1931
|
-
delay;
|
|
1932
|
-
task;
|
|
1933
|
-
id;
|
|
1934
|
-
constructor(delay, task) {
|
|
1935
|
-
super();
|
|
1936
|
-
this.delay = delay;
|
|
1937
|
-
this.task = task;
|
|
1938
|
-
this.id = setTimeout(task, delay);
|
|
1939
|
-
}
|
|
1940
|
-
destructor() {
|
|
1941
|
-
clearTimeout(this.id);
|
|
1942
|
-
}
|
|
1943
|
-
}
|
|
1944
|
-
$.$mol_after_timeout = $mol_after_timeout;
|
|
1945
|
-
})($ || ($ = {}));
|
|
1946
|
-
|
|
1947
1923
|
;
|
|
1948
1924
|
"use strict";
|
|
1949
1925
|
var $;
|
package/web.test.js
CHANGED
|
@@ -565,7 +565,7 @@ var $;
|
|
|
565
565
|
var $;
|
|
566
566
|
(function ($_1) {
|
|
567
567
|
$mol_test_mocks.push($ => {
|
|
568
|
-
$.$
|
|
568
|
+
$.$mol_after_timeout = $mol_after_mock_timeout;
|
|
569
569
|
});
|
|
570
570
|
})($ || ($ = {}));
|
|
571
571
|
|
|
@@ -1133,15 +1133,6 @@ var $;
|
|
|
1133
1133
|
$mol_test_mocks.push($ => $.$mol_fail_log = () => false);
|
|
1134
1134
|
})($ || ($ = {}));
|
|
1135
1135
|
|
|
1136
|
-
;
|
|
1137
|
-
"use strict";
|
|
1138
|
-
var $;
|
|
1139
|
-
(function ($_1) {
|
|
1140
|
-
$mol_test_mocks.push($ => {
|
|
1141
|
-
$.$mol_after_timeout = $mol_after_mock_timeout;
|
|
1142
|
-
});
|
|
1143
|
-
})($ || ($ = {}));
|
|
1144
|
-
|
|
1145
1136
|
;
|
|
1146
1137
|
"use strict";
|
|
1147
1138
|
var $;
|