diff options
| author | mrmr1993 | 2015-05-31 18:16:01 +0100 | 
|---|---|---|
| committer | mrmr1993 | 2015-05-31 18:16:01 +0100 | 
| commit | dbf0ed0956485ccd3c0fb3fb12cf12c007d63394 (patch) | |
| tree | 96c14b80745633b3892e14b396c2c2ee21ff80f4 /background_scripts | |
| parent | c62bee9036c05beb7945a0a9088e848617960f26 (diff) | |
| download | vimium-dbf0ed0956485ccd3c0fb3fb12cf12c007d63394.tar.bz2 | |
Remove code supporting the former settings port from the frontend
Diffstat (limited to 'background_scripts')
| -rw-r--r-- | background_scripts/main.coffee | 15 | 
1 files changed, 0 insertions, 15 deletions
| diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 99a5672b..e40b03be 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -217,20 +217,6 @@ selectSpecificTab = (request) ->      chrome.windows.update(tab.windowId, { focused: true })      chrome.tabs.update(request.id, { selected: true })) -# -# Used by the content scripts to get settings from the local storage. -# -handleSettings = (request, port) -> -  switch request.operation -    when "get" # Get a single settings value. -      port.postMessage key: request.key, value: Settings.get request.key -    when "set" # Set a single settings value. -      Settings.set request.key, request.value -    when "fetch" # Fetch multiple settings values. -      values = request.values -      values[key] = Settings.get key for own key of values -      port.postMessage { values } -  chrome.tabs.onSelectionChanged.addListener (tabId, selectionInfo) ->    if (selectionChangedHandlers.length > 0)      selectionChangedHandlers.pop().call() @@ -650,7 +636,6 @@ bgLog = (request, sender) ->  # Port handler mapping  portHandlers =    keyDown: handleKeyDown, -  settings: handleSettings,    completions: handleCompletions  sendRequestHandlers = | 
