aboutsummaryrefslogtreecommitdiffstats
path: root/lib/utils.js
diff options
context:
space:
mode:
authorJez Ng2012-01-18 14:45:11 +0800
committerJez Ng2012-01-26 02:48:00 -0500
commit4ad21d921120dba576a75d432b1e2bf4d42f51e3 (patch)
treead703e66a5b61e32c2ae6b357e6de5663ed97345 /lib/utils.js
parent42bb33d427e3d8c36c31753bd0c0a81bf330e4ce (diff)
downloadvimium-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