mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 07:48:00 +01:00
Whitespace fixes.
This commit is contained in:
@@ -44,7 +44,6 @@ function Buffer() //{{{
|
||||
|
||||
// FIXME: This doesn't belong here.
|
||||
let mainWindowID = config.mainWindowID || "main-window";
|
||||
|
||||
let fontSize = util.computedStyle(document.getElementById(mainWindowID)).fontSize;
|
||||
|
||||
styles.registerSheet("chrome://liberator/skin/liberator.css");
|
||||
|
||||
@@ -687,7 +687,7 @@ function Events() //{{{
|
||||
["<Tab>"], "Advance keyboard focus",
|
||||
function () { document.commandDispatcher.advanceFocus(); });
|
||||
|
||||
mappings.add([modes.NORMAL, modes.PLAYER,modes.VISUAL, modes.CARET, modes.INSERT, modes.TEXTAREA],
|
||||
mappings.add([modes.NORMAL, modes.PLAYER, modes.VISUAL, modes.CARET, modes.INSERT, modes.TEXTAREA],
|
||||
["<S-Tab>"], "Rewind keyboard focus",
|
||||
function () { document.commandDispatcher.rewindFocus(); });
|
||||
|
||||
@@ -1242,13 +1242,9 @@ function Events() //{{{
|
||||
{
|
||||
// Switch to -- PLAYER -- mode for Songbird Media Player.
|
||||
if (config.isPlayerWindow)
|
||||
{
|
||||
liberator.mode = modes.PLAYER;
|
||||
}
|
||||
else
|
||||
{
|
||||
liberator.mode = modes.NORMAL;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ function Tabs() //{{{
|
||||
tabmail.__defineGetter__("mTabs", function () this.tabContainer.childNodes);
|
||||
tabmail.__defineGetter__("mCurrentTab", function () this.tabContainer.selectedItem);
|
||||
tabmail.__defineGetter__("mStrip", function () this.tabStrip);
|
||||
tabmail.__defineGetter__("browsers", function () [browser for (browser in Iterator(this.mTabs))] );
|
||||
tabmail.__defineGetter__("browsers", function () [browser for (browser in Iterator(this.mTabs))]);
|
||||
}
|
||||
return tabmail;
|
||||
};
|
||||
@@ -151,7 +151,7 @@ function Tabs() //{{{
|
||||
validator: Option.validateCompleter
|
||||
});
|
||||
|
||||
if (config.name == "Vimperator" || config.name == "Xulmus" )
|
||||
if (config.name == "Vimperator" || config.name == "Xulmus")
|
||||
{
|
||||
options.add(["activate", "act"],
|
||||
"Define when tabs are automatically activated",
|
||||
|
||||
Reference in New Issue
Block a user