Skip to content

Commit

Permalink
Deploying to gh-pages from @ 35b00e0 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
nin-jin committed Nov 27, 2024
1 parent e93c8ae commit a4960bf
Show file tree
Hide file tree
Showing 16 changed files with 116 additions and 68 deletions.
9 changes: 2 additions & 7 deletions node.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4218,12 +4218,7 @@ declare namespace $ {
}

declare namespace $ {
function $mol_wait_timeout_async(this: $, timeout: number): Promise<void> & {
done: (res: void | PromiseLike<void>) => void;
fail: (error?: any) => void;
} & {
destructor: () => void;
};
function $mol_wait_timeout_async(this: $, timeout: number): Promise<void>;
function $mol_wait_timeout(this: $, timeout: number): void;
}

Expand Down Expand Up @@ -9959,7 +9954,7 @@ declare namespace $ {
>
export class $mol_portion extends $mol_view {
indicator_width_style( ): string
indicator( ): $mol_portion_indicator
Indicator( ): $mol_portion_indicator
portion( ): number
sub( ): readonly(any)[]
}
Expand Down
2 changes: 1 addition & 1 deletion node.d.ts.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions node.js
Original file line number Diff line number Diff line change
Expand Up @@ -22384,7 +22384,7 @@ var $;
indicator_width_style(){
return "0";
}
indicator(){
Indicator(){
const obj = new this.$.$mol_portion_indicator();
(obj.width_style) = () => ((this.indicator_width_style()));
return obj;
Expand All @@ -22393,10 +22393,10 @@ var $;
return 0;
}
sub(){
return [(this.indicator())];
return [(this.Indicator())];
}
};
($mol_mem(($.$mol_portion.prototype), "indicator"));
($mol_mem(($.$mol_portion.prototype), "Indicator"));


;
Expand Down
2 changes: 1 addition & 1 deletion node.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions node.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22384,7 +22384,7 @@ var $;
indicator_width_style(){
return "0";
}
indicator(){
Indicator(){
const obj = new this.$.$mol_portion_indicator();
(obj.width_style) = () => ((this.indicator_width_style()));
return obj;
Expand All @@ -22393,10 +22393,10 @@ var $;
return 0;
}
sub(){
return [(this.indicator())];
return [(this.Indicator())];
}
};
($mol_mem(($.$mol_portion.prototype), "indicator"));
($mol_mem(($.$mol_portion.prototype), "Indicator"));


;
Expand Down
62 changes: 44 additions & 18 deletions node.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22375,7 +22375,7 @@ var $;
indicator_width_style(){
return "0";
}
indicator(){
Indicator(){
const obj = new this.$.$mol_portion_indicator();
(obj.width_style) = () => ((this.indicator_width_style()));
return obj;
Expand All @@ -22384,10 +22384,10 @@ var $;
return 0;
}
sub(){
return [(this.indicator())];
return [(this.Indicator())];
}
};
($mol_mem(($.$mol_portion.prototype), "indicator"));
($mol_mem(($.$mol_portion.prototype), "Indicator"));


;
Expand Down Expand Up @@ -51404,6 +51404,41 @@ var $;
});
})($ || ($ = {}));

;
"use strict";
var $;
(function ($_1) {
$mol_test_mocks.push($ => {
$.$mol_after_work = $mol_after_mock_timeout;
});
})($ || ($ = {}));

;
"use strict";
var $;
(function ($_1) {
var $$;
(function ($$) {
$mol_test_mocks.push($ => {
$.$mol_wait_timeout = function $mol_wait_timeout_mock(timeout) { };
$.$mol_wait_timeout_async = async function $mol_wait_timeout_async_mock(timeout) { };
});
})($$ = $_1.$$ || ($_1.$$ = {}));
})($ || ($ = {}));

;
"use strict";
var $;
(function ($_1) {
var $$;
(function ($$) {
$mol_test_mocks.push($ => {
$.$mol_wait_rest = function $mol_wait_rest_mock() { };
$.$mol_wait_rest_async = async function $mol_wait_rest_async_mock() { };
});
})($$ = $_1.$$ || ($_1.$$ = {}));
})($ || ($ = {}));

;
"use strict";
var $;
Expand All @@ -51426,7 +51461,7 @@ var $;
static last = [];
static send(next) {
$mol_wire_sync(this.first).push(next);
this.$.$mol_wait_timeout(0);
$$.$mol_wait_timeout(0);
this.last.push(next);
}
}
Expand All @@ -51435,24 +51470,24 @@ var $;
const promise = name('jin');
$.$mol_after_mock_warp();
await promise;
$mol_assert_like(NameLogger.first, ['john', 'jin']);
$mol_assert_like(NameLogger.last, ['jin']);
$mol_assert_equal(NameLogger.first, ['john', 'jin']);
$mol_assert_equal(NameLogger.last, ['jin']);
},
async 'Latest function calls wins'($) {
const first = [];
const last = [];
function send_name(next) {
$mol_wire_sync(first).push(next);
$.$mol_wait_timeout(0);
$$.$mol_wait_timeout(0);
last.push(next);
}
const name = $mol_wire_async(send_name);
name('john');
const promise = name('jin');
$.$mol_after_mock_warp();
await promise;
$mol_assert_like(first, ['john', 'jin']);
$mol_assert_like(last, ['jin']);
$mol_assert_equal(first, ['john', 'jin']);
$mol_assert_equal(last, ['jin']);
},
});
})($ || ($ = {}));
Expand Down Expand Up @@ -55170,15 +55205,6 @@ var $;
});
})($ || ($ = {}));

;
"use strict";
var $;
(function ($_1) {
$mol_test_mocks.push($ => {
$.$mol_after_work = $mol_after_mock_timeout;
});
})($ || ($ = {}));

;
"use strict";
var $;
Expand Down
2 changes: 1 addition & 1 deletion node.test.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion node.view.tree
Original file line number Diff line number Diff line change
Expand Up @@ -2131,7 +2131,7 @@ $mol_portion_indicator $mol_view
$mol_portion $mol_view
portion 0
sub /
<= indicator $mol_portion_indicator
<= Indicator $mol_portion_indicator
width_style <= indicator_width_style \0

$mol_bench $mol_grid
Expand Down
9 changes: 2 additions & 7 deletions web.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4146,12 +4146,7 @@ declare namespace $ {
}

declare namespace $ {
function $mol_wait_timeout_async(this: $, timeout: number): Promise<void> & {
done: (res: void | PromiseLike<void>) => void;
fail: (error?: any) => void;
} & {
destructor: () => void;
};
function $mol_wait_timeout_async(this: $, timeout: number): Promise<void>;
function $mol_wait_timeout(this: $, timeout: number): void;
}

Expand Down Expand Up @@ -9889,7 +9884,7 @@ declare namespace $ {
>
export class $mol_portion extends $mol_view {
indicator_width_style( ): string
indicator( ): $mol_portion_indicator
Indicator( ): $mol_portion_indicator
portion( ): number
sub( ): readonly(any)[]
}
Expand Down
2 changes: 1 addition & 1 deletion web.d.ts.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions web.js
Original file line number Diff line number Diff line change
Expand Up @@ -22151,7 +22151,7 @@ var $;
indicator_width_style(){
return "0";
}
indicator(){
Indicator(){
const obj = new this.$.$mol_portion_indicator();
(obj.width_style) = () => ((this.indicator_width_style()));
return obj;
Expand All @@ -22160,10 +22160,10 @@ var $;
return 0;
}
sub(){
return [(this.indicator())];
return [(this.Indicator())];
}
};
($mol_mem(($.$mol_portion.prototype), "indicator"));
($mol_mem(($.$mol_portion.prototype), "Indicator"));


;
Expand Down
2 changes: 1 addition & 1 deletion web.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions web.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22151,7 +22151,7 @@ var $;
indicator_width_style(){
return "0";
}
indicator(){
Indicator(){
const obj = new this.$.$mol_portion_indicator();
(obj.width_style) = () => ((this.indicator_width_style()));
return obj;
Expand All @@ -22160,10 +22160,10 @@ var $;
return 0;
}
sub(){
return [(this.indicator())];
return [(this.Indicator())];
}
};
($mol_mem(($.$mol_portion.prototype), "indicator"));
($mol_mem(($.$mol_portion.prototype), "Indicator"));


;
Expand Down
64 changes: 48 additions & 16 deletions web.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion web.test.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion web.view.tree
Original file line number Diff line number Diff line change
Expand Up @@ -2131,7 +2131,7 @@ $mol_portion_indicator $mol_view
$mol_portion $mol_view
portion 0
sub /
<= indicator $mol_portion_indicator
<= Indicator $mol_portion_indicator
width_style <= indicator_width_style \0

$mol_bench $mol_grid
Expand Down

0 comments on commit a4960bf

Please sign in to comment.