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