diff options
| author | Jez Ng | 2012-01-18 14:45:11 +0800 |
|---|---|---|
| committer | Jez Ng | 2012-01-26 02:48:00 -0500 |
| commit | 4ad21d921120dba576a75d432b1e2bf4d42f51e3 (patch) | |
| tree | ad703e66a5b61e32c2ae6b357e6de5663ed97345 /lib/utils.js | |
| parent | 42bb33d427e3d8c36c31753bd0c0a81bf330e4ce (diff) | |
| download | vimium-4ad21d921120dba576a75d432b1e2bf4d42f51e3.tar.bz2 | |
Refactor settings storage and make it support empty strings.
It appears that localStorage keys with the empty string as their value
will have their values changed to undefined after a browser restart. The
DOM Inspector shows that the keys are still present, but '{{key}} in
localStorage' returns false. Convert all localStorage values to JSON as
a workaround.
This allows us to store null, numerical etc values seamlessly.
Closes #434.
Disable Vimium in the options page, due to a name collision.
Diffstat (limited to 'lib/utils.js')
0 files changed, 0 insertions, 0 deletions
