Update jslib (#1895)

* Update jslib

* Update jslib

* Revert `isDesktopClient`
This commit is contained in:
Matt Gibson 2021-06-15 13:40:49 -05:00 committed by GitHub
parent 81a6cc092e
commit a54ce615c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

2
jslib

@ -1 +1 @@
Subproject commit fdc6f7b1d234c72724db47cbea6c94bff7ec0106
Subproject commit 1f83c3c1ba14d2cdbc319ac060a08cc7c0911b5c

View File

@ -19,6 +19,10 @@ export default class BrowserStorageService implements StorageService {
});
}
async has(key: string): Promise<boolean> {
return this.get(key) != null;
}
async save(key: string, obj: any): Promise<any> {
if (obj == null) {
// Fix safari not liking null in set