diff options
| author | Stephen Blott | 2016-02-21 07:03:24 +0000 |
|---|---|---|
| committer | Stephen Blott | 2016-02-21 07:03:24 +0000 |
| commit | 972bf7a5e47f6f4abd9db5024914a87f0dad9084 (patch) | |
| tree | 77f95ef92d0979162f43a0364e5d65ab328fbf99 /background_scripts | |
| parent | 60d60a4684b9567517c8d2d06267ae49d13afd0f (diff) | |
| download | vimium-972bf7a5e47f6f4abd9db5024914a87f0dad9084.tar.bz2 | |
Remove selectionChangedHandlers.
With #2006 and #2009, this is no longer being used.
Diffstat (limited to 'background_scripts')
| -rw-r--r-- | background_scripts/main.coffee | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 4bdb1475..196cf11f 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -30,8 +30,6 @@ root.urlForTab = {} # the string. namedKeyRegex = /^(<(?:[amc]-.|(?:[amc]-)?[a-z0-9]{2,5})>)(.*)$/ -# Event handlers -selectionChangedHandlers = [] # This is exported for use by "marks.coffee". root.tabLoadedHandlers = {} # tabId -> function() @@ -237,10 +235,6 @@ selectSpecificTab = (request) -> chrome.windows.update(tab.windowId, { focused: true }) chrome.tabs.update(request.id, { selected: true })) -chrome.tabs.onSelectionChanged.addListener (tabId, selectionInfo) -> - if (selectionChangedHandlers.length > 0) - selectionChangedHandlers.pop().call() - repeatFunction = (func, totalCount, currentCount, frameId) -> if (currentCount < totalCount) func( |
