diff options
| author | Timo Sand | 2013-02-16 21:33:57 +0000 | 
|---|---|---|
| committer | Timo Sand | 2013-02-16 21:33:57 +0000 | 
| commit | f88ccb3390b9efff6512e5c0e7d2235ba8b859ed (patch) | |
| tree | 59a6db0679f784172b527d65d6f0cf5d35dc6cda /background_scripts/main.coffee | |
| parent | c781ce942e225c9bc9f172cea54e0e7de6e4bcd0 (diff) | |
| download | vimium-f88ccb3390b9efff6512e5c0e7d2235ba8b859ed.tar.bz2 | |
Added duplicateTab call
Diffstat (limited to 'background_scripts/main.coffee')
| -rw-r--r-- | background_scripts/main.coffee | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index d9229f12..e6951102 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -218,6 +218,7 @@ repeatFunction = (func, totalCount, currentCount, frameId) ->  # mapped in commands.coffee.  BackgroundCommands =    createTab: (callback) -> chrome.tabs.create({ url: "chrome://newtab" }, (tab) -> callback()) +  duplicateTab: (callback) -> chrome.tabs.duplicate(chrome.tabs.getCurrent(), (tab) -> callback())    nextTab: (callback) -> selectTab(callback, "next")    previousTab: (callback) -> selectTab(callback, "previous")    firstTab: (callback) -> selectTab(callback, "first")  | 
