diff options
| author | Phil Crosby | 2009-11-27 00:03:41 -0800 |
|---|---|---|
| committer | Phil Crosby | 2009-11-27 00:03:41 -0800 |
| commit | abfd4dc1b59c31b8df4a0eafd51c840cf8296d15 (patch) | |
| tree | 8957d9a1e0dae49d1f87f40b1b68249ebfdba21b /background_page.html | |
| parent | 6042b7faaede2771d9589037f6fb6cff9fbcb99b (diff) | |
| download | vimium-abfd4dc1b59c31b8df4a0eafd51c840cf8296d15.tar.bz2 | |
Remove space after the "function" keyword.
Diffstat (limited to 'background_page.html')
| -rw-r--r-- | background_page.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/background_page.html b/background_page.html index bd032bcd..eadb94cc 100644 --- a/background_page.html +++ b/background_page.html @@ -16,8 +16,8 @@ // Event handlers var selectionChangedHandlers = []; - var getScrollPositionHandlers = {}; // tabId -> function (tab, scrollX, scrollY); - var tabLoadedHandlers = {}; // tabId -> function () + var getScrollPositionHandlers = {}; // tabId -> function(tab, scrollX, scrollY); + var tabLoadedHandlers = {}; // tabId -> function() chrome.extension.onConnect.addListener(function(port, name) { var senderTabId = port.sender.tab ? port.sender.tab.id : null; @@ -102,7 +102,7 @@ } // Returns the currently selected tab along with scroll coordinates. Pass in a callback of the form: - // function (tab, scrollX, scrollY) { .. } + // function(tab, scrollX, scrollY) { .. } function getCurrentTabWithScrollPosition(callback) { chrome.tabs.getSelected(null, function(tab) { getScrollPositionHandlers[tab.id] = callback; @@ -157,7 +157,7 @@ function restoreTab(callback) { // TODO(ilya): Should this be getLastFocused instead? - chrome.windows.getCurrent(function (window) { + chrome.windows.getCurrent(function(window) { if (tabQueue[window.id] && tabQueue[window.id].length > 0) { var tabQueueEntry = tabQueue[window.id].pop(); |
