diff options
| author | Stephen Blott | 2015-06-01 07:04:43 +0100 |
|---|---|---|
| committer | Stephen Blott | 2015-06-01 07:56:02 +0100 |
| commit | c62ffa33ad5230b89f44cb8f3268e6a4e48afd52 (patch) | |
| tree | 2172c4916b60539ef76f7ea90166c4e029323d65 /content_scripts/link_hints.coffee | |
| parent | 1e380ff702b09c0ba98f8b067b47a02fe7561729 (diff) | |
| download | vimium-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 'content_scripts/link_hints.coffee')
| -rw-r--r-- | content_scripts/link_hints.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee index daf738a3..0ea40bd3 100644 --- a/content_scripts/link_hints.coffee +++ b/content_scripts/link_hints.coffee @@ -26,7 +26,7 @@ LinkHints = linkActivator: undefined # While in delayMode, all keypresses have no effect. delayMode: false - # Handle the link hinting marker generation and matching. Must be initialized after settings have been + # Handle the link hinting marker generation and matching. Must be initialized after Settings have been # loaded, so that we can retrieve the option setting. getMarkerMatcher: -> if Settings.get("filterLinkHints") then filterHints else alphabetHints |
