diff options
| -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( |
