diff options
| author | Phil Crosby | 2012-09-01 23:41:05 -0700 | 
|---|---|---|
| committer | Phil Crosby | 2012-09-01 23:41:05 -0700 | 
| commit | 879ff43d9f0b6c4f75dd86d643addf63581dee79 (patch) | |
| tree | 97058860be448c67e8c26522c5daa311a7cdc957 | |
| parent | e10c1b1da75ed99239dc028b53a07f8fefe89b8f (diff) | |
| download | vimium-879ff43d9f0b6c4f75dd86d643addf63581dee79.tar.bz2 | |
Add a few missed exports to main.coffee
| -rw-r--r-- | background_scripts/main.coffee | 12 | 
1 files changed, 5 insertions, 7 deletions
| diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 118d9839..56b6e313 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -79,10 +79,8 @@ isEnabledForUrl = (request) ->      isEnabled = false if request.url.match(regexp)    { isEnabledForUrl: isEnabled } -#  # Called by the popup UI. Strips leading/trailing whitespace and ignores empty strings. -# -addExcludedUrl = (url) -> +root.addExcludedUrl = (url) ->    return unless url = url.trim()    excludedUrls = Settings.get("excludedUrls") @@ -97,10 +95,9 @@ getShowAdvancedCommands = (request) -> Settings.get("helpDialog_showAdvancedComm  saveHelpDialogSettings = (request) ->    Settings.set("helpDialog_showAdvancedCommands", request.showAdvancedCommands) -#  # Retrieves the help dialog HTML template from a file, and populates it with the latest keybindings. -# -helpDialogHtml = (showUnboundCommands, showCommandNames, customTitle) -> +# This is called by options.coffee. +root.helpDialogHtml = (showUnboundCommands, showCommandNames, customTitle) ->    commandsToKey = {}    for key of Commands.keyToCommandRegistry      command = Commands.keyToCommandRegistry[key].command @@ -393,7 +390,8 @@ populateSingleKeyCommands = ->      if (getActualKeyStrokeLength(key) == 1)        singleKeyCommands.push(key) -refreshCompletionKeysAfterMappingSave = -> +# Invoked by options.coffee. +root.refreshCompletionKeysAfterMappingSave = ->    validFirstKeys = {}    singleKeyCommands = [] | 
