mol_plot_all 1.2.809 → 1.2.811
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 +1 -6
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.test.js +6 -12
- package/web.test.js.map +1 -1
package/package.json
CHANGED
package/web.test.js
CHANGED
|
@@ -2991,21 +2991,20 @@ var $;
|
|
|
2991
2991
|
(function ($) {
|
|
2992
2992
|
class $mol_storage extends $mol_object2 {
|
|
2993
2993
|
static native() {
|
|
2994
|
-
return
|
|
2994
|
+
return this.$.$mol_dom_context.navigator.storage;
|
|
2995
2995
|
}
|
|
2996
2996
|
static persisted(next) {
|
|
2997
2997
|
$mol_mem_persist();
|
|
2998
2998
|
const native = this.native();
|
|
2999
|
-
|
|
3000
|
-
if (next && !prev)
|
|
2999
|
+
if (next)
|
|
3001
3000
|
native.persist();
|
|
3002
|
-
return next ??
|
|
3001
|
+
return next ?? $mol_wire_sync(native).persisted();
|
|
3003
3002
|
}
|
|
3004
3003
|
static estimate() {
|
|
3005
|
-
return this.native().estimate();
|
|
3004
|
+
return $mol_wire_sync(this.native()).estimate();
|
|
3006
3005
|
}
|
|
3007
3006
|
static dir() {
|
|
3008
|
-
return this.native().getDirectory();
|
|
3007
|
+
return $mol_wire_sync(this.native()).getDirectory();
|
|
3009
3008
|
}
|
|
3010
3009
|
}
|
|
3011
3010
|
__decorate([
|
|
@@ -3059,12 +3058,7 @@ var $;
|
|
|
3059
3058
|
}
|
|
3060
3059
|
else {
|
|
3061
3060
|
this.native().setItem(key, JSON.stringify(next));
|
|
3062
|
-
|
|
3063
|
-
this.$.$mol_storage.persisted(true);
|
|
3064
|
-
}
|
|
3065
|
-
catch (error) {
|
|
3066
|
-
$mol_fail_log(error);
|
|
3067
|
-
}
|
|
3061
|
+
this.$.$mol_storage.persisted(true);
|
|
3068
3062
|
}
|
|
3069
3063
|
return next;
|
|
3070
3064
|
}
|