aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dom_tests
diff options
context:
space:
mode:
authorStephen Blott2015-06-01 07:04:43 +0100
committerStephen Blott2015-06-01 07:56:02 +0100
commitc62ffa33ad5230b89f44cb8f3268e6a4e48afd52 (patch)
tree2172c4916b60539ef76f7ea90166c4e029323d65 /tests/dom_tests
parent1e380ff702b09c0ba98f8b067b47a02fe7561729 (diff)
downloadvimium-c62ffa33ad5230b89f44cb8f3268e6a4e48afd52.tar.bz2
Re-work unified settings.
This is a minor re-working of #1705 from @mrmr1993. The main changes are: - Simplify initialisation logic. - Always initialise Settings immediately and automatically (ie. don't initialise Settings separately and manually in the background, content scripts, options and tests). - Get rid of addEventListener (it's only being used for on "load"). - Add Settings.use() in its place.
Diffstat (limited to 'tests/dom_tests')
-rw-r--r--tests/dom_tests/chrome.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dom_tests/chrome.coffee b/tests/dom_tests/chrome.coffee
index 4de85876..d4e6930d 100644
--- a/tests/dom_tests/chrome.coffee
+++ b/tests/dom_tests/chrome.coffee
@@ -28,7 +28,7 @@ root.chrome =
get: ->
set: ->
sync:
- get: ->
+ get: (_, callback) -> callback? {}
set: ->
onChanged:
addListener: ->