diff options
| author | Stephen Blott | 2014-04-19 07:41:31 +0100 |
|---|---|---|
| committer | Stephen Blott | 2014-04-19 07:41:31 +0100 |
| commit | 033d353b265fcd4e9963ef232c17d82d7bea43f1 (patch) | |
| tree | 87773ec1db54a25b1577647733e5533a0778fe8f /background_scripts/settings.coffee | |
| parent | 654738cb4d566c5e0b2d1e229dd9055403af35f6 (diff) | |
| download | vimium-033d353b265fcd4e9963ef232c17d82d7bea43f1.tar.bz2 | |
Settings tests pass, Sync still has an error.
Diffstat (limited to 'background_scripts/settings.coffee')
| -rw-r--r-- | background_scripts/settings.coffee | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/background_scripts/settings.coffee b/background_scripts/settings.coffee index ad89888e..f75c1db3 100644 --- a/background_scripts/settings.coffee +++ b/background_scripts/settings.coffee @@ -14,12 +14,12 @@ root.Settings = Settings = else jsonValue = JSON.stringify value localStorage[key] = jsonValue - root.Sync.set key, jsonValue + Sync.set key, jsonValue clear: (key) -> if @has key delete localStorage[key] - root.Sync.clear key + Sync.clear key has: (key) -> key of localStorage |
