aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/settings.coffee
diff options
context:
space:
mode:
authorStephen Blott2014-04-19 07:41:31 +0100
committerStephen Blott2014-04-19 07:41:31 +0100
commit033d353b265fcd4e9963ef232c17d82d7bea43f1 (patch)
tree87773ec1db54a25b1577647733e5533a0778fe8f /background_scripts/settings.coffee
parent654738cb4d566c5e0b2d1e229dd9055403af35f6 (diff)
downloadvimium-033d353b265fcd4e9963ef232c17d82d7bea43f1.tar.bz2
Settings tests pass, Sync still has an error.
Diffstat (limited to 'background_scripts/settings.coffee')
-rw-r--r--background_scripts/settings.coffee4
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