-
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a fake LocalStorage when the real one is not available. Fixes #308
In particular, attempting to use js/localStorage throws an error in sandboxed iframes, preventing the use of 10x. delete-all-keys! (called by the factory reset) doesn't work perfectly with the fake storage, but it doesn't error and a refresh will always clear the settings.
- Loading branch information
1 parent
e7105cc
commit 6f2ef39
Showing
1 changed file
with
20 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters