aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Crosby2014-04-30 00:51:45 -0700
committerPhil Crosby2014-04-30 00:51:45 -0700
commit2b440edd7e27e4e6595fbf235a83883ad9af2539 (patch)
tree46dd9d587bc894a3b9f8f0f101f5abdcc26de2d5
parentfc23be221270dc11914244f5c93d900ad8e9225c (diff)
downloadvimium-2b440edd7e27e4e6595fbf235a83883ad9af2539.tar.bz2
Turn off debug mode
I think we want to leave it off in the shipped version
-rw-r--r--background_scripts/sync.coffee5
1 files changed, 2 insertions, 3 deletions
diff --git a/background_scripts/sync.coffee b/background_scripts/sync.coffee
index 56c74b81..f1c5c0cc 100644
--- a/background_scripts/sync.coffee
+++ b/background_scripts/sync.coffee
@@ -26,7 +26,7 @@ root.Sync = Sync =
# However, if users have problems, they are unlikely to notice and make sense of console logs on
# background pages. So disable it, by default.
# For genuine errors, we call console.log directly.
- debug: true
+ debug: false
storage: chrome.storage.sync
doNotSync: [ "settingsVersion", "previousVersion" ]
@@ -52,7 +52,7 @@ root.Sync = Sync =
for own key, change of changes
@log "handleStorageUpdate: #{key} <- #{change.newValue}"
@storeAndPropagate key, change?.newValue
-
+
# Only ever called from asynchronous synced-storage callbacks (fetchAsync and handleStorageUpdate).
storeAndPropagate: (key, value) ->
return if not key of Settings.defaults
@@ -102,4 +102,3 @@ root.Sync = Sync =
log: (msg) ->
console.log "Sync: #{msg}" if @debug
-