Skip to content

Commit

Permalink
rm old fns
Browse files Browse the repository at this point in the history
  • Loading branch information
jmuzina committed Jan 22, 2024
1 parent ce6be70 commit ebaa423
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/app/services/browser-storage.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,6 @@ export class BrowserStorageService {
}
}

// private storageRetrievalFn(key: StorageKey) {
// return this.usesLocalStorage(key) ? localStorage.getItem : Cookies.get;
// }
//
// private storageRemovalFn(key: StorageKey) {
// return this.usesLocalStorage(key) ? localStorage.removeItem : Cookies.remove;
// }

private usesLocalStorage(key: StorageKey) {
return this._STORAGE_DISPOSITIONS[key] === StorageDisposition.LOCALSTORAGE;
}
Expand Down

0 comments on commit ebaa423

Please sign in to comment.