aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/sync.coffee
diff options
context:
space:
mode:
authorStephen Blott2014-04-19 09:44:50 +0100
committerStephen Blott2014-04-19 09:44:50 +0100
commita2de5078f8d34c2b65b451556aff07a6a41399a5 (patch)
treefc90b6a0e331906dc9ff74eb26443b540cb69477 /background_scripts/sync.coffee
parent64f290465aa14478200dc266ccc68b3475352e69 (diff)
downloadvimium-a2de5078f8d34c2b65b451556aff07a6a41399a5.tar.bz2
Add test cases for "asynchronous" sync.
Diffstat (limited to 'background_scripts/sync.coffee')
-rw-r--r--background_scripts/sync.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/background_scripts/sync.coffee b/background_scripts/sync.coffee
index afde3e70..3a829722 100644
--- a/background_scripts/sync.coffee
+++ b/background_scripts/sync.coffee
@@ -83,7 +83,7 @@ root.Sync = Sync =
return
#
if @isSyncKey key
- @storage.set @mkKeyValue(key,value), ->
+ @storage.set @mkKeyValue(key,value), =>
if chrome.runtime.lastError
@log "chrome sync callback for Sync.set() indicates error: " + key
@log chrome.runtime.lastError