aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/settings.coffee
diff options
context:
space:
mode:
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