aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/main.coffee
diff options
context:
space:
mode:
authorJez Ng2013-03-06 05:45:16 -0500
committerJez Ng2013-03-06 05:45:16 -0500
commit8fec3a8a1418c548a158144f7abadba27594ac32 (patch)
treebb90c4d7ef6948756ddf48754de49499c1067d6e /background_scripts/main.coffee
parent25c871c9bfc15278d72b9d0b2821b92627a605c6 (diff)
downloadvimium-8fec3a8a1418c548a158144f7abadba27594ac32.tar.bz2
Shorten names.
Diffstat (limited to 'background_scripts/main.coffee')
-rw-r--r--background_scripts/main.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index 3e6f2dad..c750162e 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -168,7 +168,7 @@ openUrlInNewTab = (request) ->
chrome.tabs.getSelected(null, (tab) ->
chrome.tabs.create({ url: Utils.convertToUrl(request.url), index: tab.index + 1, selected: true }))
-openUrlInIncognitoWindow = (request) ->
+openUrlInIncognito = (request) ->
chrome.windows.create({ url: Utils.convertToUrl(request.url), incognito: true})
#
@@ -564,7 +564,7 @@ sendRequestHandlers =
getCompletionKeys: getCompletionKeysRequest,
getCurrentTabUrl: getCurrentTabUrl,
openUrlInNewTab: openUrlInNewTab,
- openUrlInIncognitoWindow: openUrlInIncognitoWindow,
+ openUrlInIncognito: openUrlInIncognito,
openUrlInCurrentTab: openUrlInCurrentTab,
openOptionsPageInNewTab: openOptionsPageInNewTab,
registerFrame: registerFrame,