diff options
| author | Stephen Blott | 2014-12-29 14:22:53 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2014-12-29 14:35:21 +0000 | 
| commit | 0524bdc3f76279e8930bfe4b1b42d93e0e9bf6e4 (patch) | |
| tree | 6f01a27708c2ba8c085ef093df58814715441b08 /background_scripts | |
| parent | a6dc63fd7c49926e6ad32174621b32eeb3fd9283 (diff) | |
| download | vimium-0524bdc3f76279e8930bfe4b1b42d93e0e9bf6e4.tar.bz2 | |
Refactor UIComponent, etc., and demo.
- Simplify component API.
- Iframe flashes on re-focus.
- Probably some other stuff which I've forgotten.
Diffstat (limited to 'background_scripts')
| -rw-r--r-- | background_scripts/main.coffee | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 647923c0..b85ea844 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -19,6 +19,11 @@ namedKeyRegex = /^(<(?:[amc]-.|(?:[amc]-)?[a-z0-9]{2,5})>)(.*)$/  selectionChangedHandlers = []  tabLoadedHandlers = {} # tabId -> function() +# A secret, available only within the current instantiation of Vimium.  The secret is big, likely unguessable +# in practice, but less than 2^31. +chrome.storage.local.set +  vimiumSecret: Math.floor Math.random() * 2000000000 +  completionSources =    bookmarks: new BookmarkCompleter()    history: new HistoryCompleter()  | 
