Skip to content

Commit

Permalink
Deployed using Blazing fast GitHub Pages deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
nin-jin committed Nov 12, 2023
1 parent 604c453 commit 252012d
Show file tree
Hide file tree
Showing 102 changed files with 327 additions and 630 deletions.
2 changes: 1 addition & 1 deletion app/docs/-/node.deps.json

Large diffs are not rendered by default.

7 changes: 1 addition & 6 deletions app/docs/-/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -4936,12 +4936,7 @@ var $;
}
else {
this.native().setItem(key, JSON.stringify(next));
try {
this.$.$mol_storage.persisted(true);
}
catch (error) {
$mol_fail_log(error);
}
this.$.$mol_storage.persisted(true);
}
return next;
}
Expand Down
2 changes: 1 addition & 1 deletion app/docs/-/node.js.map

Large diffs are not rendered by default.

7 changes: 1 addition & 6 deletions app/docs/-/node.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4936,12 +4936,7 @@ var $;
}
else {
this.native().setItem(key, JSON.stringify(next));
try {
this.$.$mol_storage.persisted(true);
}
catch (error) {
$mol_fail_log(error);
}
this.$.$mol_storage.persisted(true);
}
return next;
}
Expand Down
7 changes: 1 addition & 6 deletions app/docs/-/node.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4928,12 +4928,7 @@ var $;
}
else {
this.native().setItem(key, JSON.stringify(next));
try {
this.$.$mol_storage.persisted(true);
}
catch (error) {
$mol_fail_log(error);
}
this.$.$mol_storage.persisted(true);
}
return next;
}
Expand Down
2 changes: 1 addition & 1 deletion app/docs/-/node.test.js.map

Large diffs are not rendered by default.

15 changes: 5 additions & 10 deletions app/docs/-/web.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1421,6 +1421,10 @@ declare namespace $.$$ {
}
}

declare namespace $ {
let $mol_mem_persist: typeof $mol_wire_solid;
}

declare namespace $ {
export function $mol_wire_sync<Host extends object>(obj: Host): ObjectOrFunctionResultAwaited<Host>;
type FunctionResultAwaited<Some> = Some extends (...args: infer Args) => infer Res ? (...args: Args) => Awaited<Res> : Some;
Expand All @@ -1431,18 +1435,9 @@ declare namespace $ {
export {};
}

declare namespace $ {
let $mol_mem_persist: typeof $mol_wire_solid;
}

declare namespace $ {
class $mol_storage extends $mol_object2 {
static native(): {
estimate: () => StorageEstimate;
getDirectory: () => FileSystemDirectoryHandle;
persist: () => boolean;
persisted: () => boolean;
};
static native(): StorageManager;
static persisted(next?: boolean): boolean;
static estimate(): StorageEstimate;
static dir(): FileSystemDirectoryHandle;
Expand Down
2 changes: 1 addition & 1 deletion app/docs/-/web.deps.json

Large diffs are not rendered by default.

32 changes: 13 additions & 19 deletions app/docs/-/web.js
Original file line number Diff line number Diff line change
Expand Up @@ -4395,6 +4395,13 @@ var $;
;
"use strict";
var $;
(function ($) {
$.$mol_mem_persist = $mol_wire_solid;
})($ || ($ = {}));
//mol/mem/persist/persist.ts
;
"use strict";
var $;
(function ($) {
function $mol_wire_sync(obj) {
return new Proxy(obj, {
Expand All @@ -4421,31 +4428,23 @@ var $;
;
"use strict";
var $;
(function ($) {
$.$mol_mem_persist = $mol_wire_solid;
})($ || ($ = {}));
//mol/mem/persist/persist.ts
;
"use strict";
var $;
(function ($) {
class $mol_storage extends $mol_object2 {
static native() {
return $mol_wire_sync(this.$.$mol_dom_context.navigator.storage);
return this.$.$mol_dom_context.navigator.storage;
}
static persisted(next) {
$mol_mem_persist();
const native = this.native();
const prev = $mol_mem_cached(() => this.persisted()) ?? native.persisted();
if (next && !prev)
if (next)
native.persist();
return next ?? prev;
return next ?? $mol_wire_sync(native).persisted();
}
static estimate() {
return this.native().estimate();
return $mol_wire_sync(this.native()).estimate();
}
static dir() {
return this.native().getDirectory();
return $mol_wire_sync(this.native()).getDirectory();
}
}
__decorate([
Expand Down Expand Up @@ -4499,12 +4498,7 @@ var $;
}
else {
this.native().setItem(key, JSON.stringify(next));
try {
this.$.$mol_storage.persisted(true);
}
catch (error) {
$mol_fail_log(error);
}
this.$.$mol_storage.persisted(true);
}
return next;
}
Expand Down
2 changes: 1 addition & 1 deletion app/docs/-/web.js.map

Large diffs are not rendered by default.

32 changes: 13 additions & 19 deletions app/docs/-/web.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4395,6 +4395,13 @@ var $;
;
"use strict";
var $;
(function ($) {
$.$mol_mem_persist = $mol_wire_solid;
})($ || ($ = {}));
//mol/mem/persist/persist.ts
;
"use strict";
var $;
(function ($) {
function $mol_wire_sync(obj) {
return new Proxy(obj, {
Expand All @@ -4421,31 +4428,23 @@ var $;
;
"use strict";
var $;
(function ($) {
$.$mol_mem_persist = $mol_wire_solid;
})($ || ($ = {}));
//mol/mem/persist/persist.ts
;
"use strict";
var $;
(function ($) {
class $mol_storage extends $mol_object2 {
static native() {
return $mol_wire_sync(this.$.$mol_dom_context.navigator.storage);
return this.$.$mol_dom_context.navigator.storage;
}
static persisted(next) {
$mol_mem_persist();
const native = this.native();
const prev = $mol_mem_cached(() => this.persisted()) ?? native.persisted();
if (next && !prev)
if (next)
native.persist();
return next ?? prev;
return next ?? $mol_wire_sync(native).persisted();
}
static estimate() {
return this.native().estimate();
return $mol_wire_sync(this.native()).estimate();
}
static dir() {
return this.native().getDirectory();
return $mol_wire_sync(this.native()).getDirectory();
}
}
__decorate([
Expand Down Expand Up @@ -4499,12 +4498,7 @@ var $;
}
else {
this.native().setItem(key, JSON.stringify(next));
try {
this.$.$mol_storage.persisted(true);
}
catch (error) {
$mol_fail_log(error);
}
this.$.$mol_storage.persisted(true);
}
return next;
}
Expand Down
7 changes: 1 addition & 6 deletions app/hello/-/node.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 app/hello/-/node.test.js.map

Large diffs are not rendered by default.

25 changes: 6 additions & 19 deletions app/hello/-/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 app/hello/-/web.test.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/questions/-/node.deps.json

Large diffs are not rendered by default.

7 changes: 1 addition & 6 deletions app/questions/-/node.js

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

2 changes: 1 addition & 1 deletion app/questions/-/node.js.map

Large diffs are not rendered by default.

7 changes: 1 addition & 6 deletions app/questions/-/node.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5552,12 +5552,7 @@ var $;
}
else {
this.native().setItem(key, JSON.stringify(next));
try {
this.$.$mol_storage.persisted(true);
}
catch (error) {
$mol_fail_log(error);
}
this.$.$mol_storage.persisted(true);
}
return next;
}
Expand Down
7 changes: 1 addition & 6 deletions app/questions/-/node.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 app/questions/-/node.test.js.map

Large diffs are not rendered by default.

7 changes: 1 addition & 6 deletions app/questions/-/web.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1580,12 +1580,7 @@ declare namespace $ {

declare namespace $ {
class $mol_storage extends $mol_object2 {
static native(): {
estimate: () => StorageEstimate;
getDirectory: () => FileSystemDirectoryHandle;
persist: () => boolean;
persisted: () => boolean;
};
static native(): StorageManager;
static persisted(next?: boolean): boolean;
static estimate(): StorageEstimate;
static dir(): FileSystemDirectoryHandle;
Expand Down
2 changes: 1 addition & 1 deletion app/questions/-/web.deps.json

Large diffs are not rendered by default.

18 changes: 6 additions & 12 deletions app/questions/-/web.js

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

2 changes: 1 addition & 1 deletion app/questions/-/web.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 252012d

Please sign in to comment.