Release 8.1.0 (#11143)

This commit is contained in:
dominikiwanekhyland
2025-08-25 14:25:56 +02:00
committed by GitHub
parent 2e20c3da45
commit de537f0a0d
22 changed files with 159 additions and 36 deletions

View File

@@ -16,7 +16,6 @@
*/
export class Storage {
private static instance: Storage;
_storage: any;
@@ -28,8 +27,8 @@ export class Storage {
}
}
public static getInstance(){
if(!Storage.instance){
public static getInstance() {
if (!Storage.instance) {
Storage.instance = new Storage();
}
return Storage.instance;
@@ -38,7 +37,7 @@ export class Storage {
supportsStorage() {
try {
return 'localStorage' in window && window.localStorage !== null;
} catch (e) {
} catch {
return false;
}
}