From abfd4dc1b59c31b8df4a0eafd51c840cf8296d15 Mon Sep 17 00:00:00 2001 From: Phil Crosby Date: Fri, 27 Nov 2009 00:03:41 -0800 Subject: Remove space after the "function" keyword. --- background_page.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'background_page.html') 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(); -- cgit v1.2.3