diff options
| author | mrmr1993 | 2015-04-27 19:29:39 +0100 | 
|---|---|---|
| committer | mrmr1993 | 2015-05-29 12:06:00 +0100 | 
| commit | d7a0daf5fa2c0a3302a8fc6b9fa0744cfa17ab42 (patch) | |
| tree | 0079be406f4d8a116f4b7b5a6663290d3e005c60 /tests | |
| parent | 31873e39772c538cab418d03c244b4cac1addba0 (diff) | |
| download | vimium-d7a0daf5fa2c0a3302a8fc6b9fa0744cfa17ab42.tar.bz2 | |
Move registration of postUpdateHooks to the corresponding source files
This completely decouples settings.coffee from all other background
source files, so that it can (eventually) also be used in the frontend.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/unit_tests/commands_test.coffee | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/tests/unit_tests/commands_test.coffee b/tests/unit_tests/commands_test.coffee index daaef016..e55dc0f2 100644 --- a/tests/unit_tests/commands_test.coffee +++ b/tests/unit_tests/commands_test.coffee @@ -1,5 +1,6 @@  require "./test_helper.js"  extend global, require "./test_chrome_stubs.js" +global.Settings = {postUpdateHooks: {}}  {Commands} = require "../../background_scripts/commands.js"  context "Key mappings", | 
