mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 05:37:58 +01:00
whitespace fixes
This commit is contained in:
@@ -182,7 +182,6 @@ liberator.Commands = function () //{{{
|
|||||||
COUNT_NONE: -1,
|
COUNT_NONE: -1,
|
||||||
COUNT_ALL: -2, // :%...
|
COUNT_ALL: -2, // :%...
|
||||||
|
|
||||||
|
|
||||||
__iterator__: function ()
|
__iterator__: function ()
|
||||||
{
|
{
|
||||||
var sorted = exCommands.sort(function (cmd1, cmd2) { return cmd1.name > cmd2.name; });
|
var sorted = exCommands.sort(function (cmd1, cmd2) { return cmd1.name > cmd2.name; });
|
||||||
|
|||||||
@@ -68,7 +68,6 @@ liberator.IO = function () //{{{
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
var shell, shellcmdflag;
|
var shell, shellcmdflag;
|
||||||
|
|
||||||
if (WINDOWS)
|
if (WINDOWS)
|
||||||
|
|||||||
@@ -1012,7 +1012,6 @@ const liberator = (function () //{{{
|
|||||||
.quit(nsIAppStartup.eRestart | nsIAppStartup.eAttemptQuit);
|
.quit(nsIAppStartup.eRestart | nsIAppStartup.eAttemptQuit);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
// TODO: move to {muttator,vimperator,...}.js
|
// TODO: move to {muttator,vimperator,...}.js
|
||||||
// this function is called when the chrome is ready
|
// this function is called when the chrome is ready
|
||||||
startup: function ()
|
startup: function ()
|
||||||
|
|||||||
@@ -330,7 +330,6 @@ liberator.Mail = function () //{{{
|
|||||||
},
|
},
|
||||||
{ flags: liberator.Mappings.flags.COUNT });
|
{ flags: liberator.Mappings.flags.COUNT });
|
||||||
|
|
||||||
|
|
||||||
// SENDING MESSAGES
|
// SENDING MESSAGES
|
||||||
liberator.mappings.add(modes, ["m"],
|
liberator.mappings.add(modes, ["m"],
|
||||||
"Compose a new message",
|
"Compose a new message",
|
||||||
|
|||||||
@@ -119,7 +119,6 @@ liberator.config = { //{{{
|
|||||||
"Edit message with external editor by default",
|
"Edit message with external editor by default",
|
||||||
"boolean", false);
|
"boolean", false);
|
||||||
|
|
||||||
|
|
||||||
// load Muttator specific modules
|
// load Muttator specific modules
|
||||||
if (this.isComposeWindow)
|
if (this.isComposeWindow)
|
||||||
{
|
{
|
||||||
@@ -184,7 +183,6 @@ liberator.config = { //{{{
|
|||||||
NotifyDocumentWillBeDestroyed: function () {}
|
NotifyDocumentWillBeDestroyed: function () {}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
// XXX: Hack!
|
// XXX: Hack!
|
||||||
window.document.addEventListener("load", function ()
|
window.document.addEventListener("load", function ()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -153,7 +153,6 @@ liberator.Tabs = function () //{{{
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
if (liberator.config.name == "Vimperator")
|
if (liberator.config.name == "Vimperator")
|
||||||
{
|
{
|
||||||
liberator.options.add(["activate", "act"],
|
liberator.options.add(["activate", "act"],
|
||||||
@@ -249,7 +248,6 @@ liberator.Tabs = function () //{{{
|
|||||||
function (count) { liberator.tabs.select("-" + (count < 1 ? 1 : count), true); },
|
function (count) { liberator.tabs.select("-" + (count < 1 ? 1 : count), true); },
|
||||||
{ flags: liberator.Mappings.flags.COUNT });
|
{ flags: liberator.Mappings.flags.COUNT });
|
||||||
|
|
||||||
|
|
||||||
if (liberator.config.name == "Vimperator")
|
if (liberator.config.name == "Vimperator")
|
||||||
{
|
{
|
||||||
liberator.mappings.add([liberator.modes.NORMAL], ["b"],
|
liberator.mappings.add([liberator.modes.NORMAL], ["b"],
|
||||||
@@ -433,7 +431,6 @@ liberator.Tabs = function () //{{{
|
|||||||
},
|
},
|
||||||
{ argCount: "0" });
|
{ argCount: "0" });
|
||||||
|
|
||||||
|
|
||||||
if (liberator.config.name == "Vimperator")
|
if (liberator.config.name == "Vimperator")
|
||||||
{
|
{
|
||||||
// TODO: "Zero count" if 0 specified as arg, multiple args and count ranges?
|
// TODO: "Zero count" if 0 specified as arg, multiple args and count ranges?
|
||||||
@@ -526,7 +523,6 @@ liberator.Tabs = function () //{{{
|
|||||||
},
|
},
|
||||||
{ completer: function (filter) { return liberator.completion.url(filter); } });
|
{ completer: function (filter) { return liberator.completion.url(filter); } });
|
||||||
|
|
||||||
|
|
||||||
liberator.commands.add(["tabde[tach]"],
|
liberator.commands.add(["tabde[tach]"],
|
||||||
"Detach current tab to its own window",
|
"Detach current tab to its own window",
|
||||||
function (args, special, count)
|
function (args, special, count)
|
||||||
|
|||||||
@@ -1141,7 +1141,6 @@ liberator.ItemList = function (id) //{{{
|
|||||||
}
|
}
|
||||||
catch (e) {} // for muttator!
|
catch (e) {} // for muttator!
|
||||||
|
|
||||||
|
|
||||||
// TODO: temporary, to be changed/removed
|
// TODO: temporary, to be changed/removed
|
||||||
function createRow(a, b, c)
|
function createRow(a, b, c)
|
||||||
{
|
{
|
||||||
@@ -1370,7 +1369,6 @@ liberator.ItemList = function (id) //{{{
|
|||||||
//}}}
|
//}}}
|
||||||
}; //}}}
|
}; //}}}
|
||||||
|
|
||||||
|
|
||||||
liberator.StatusLine = function () //{{{
|
liberator.StatusLine = function () //{{{
|
||||||
{
|
{
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
Reference in New Issue
Block a user