mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-04-19 23:23:33 +02:00
Whitespace fixes.
This commit is contained in:
@@ -1388,7 +1388,6 @@ function Completion() //{{{
|
||||
{ process.call(this, item, text) }
|
||||
</>];
|
||||
|
||||
|
||||
context.completions = util.map(tabs.browsers, function ([i, browser]) {
|
||||
let indicator = " ";
|
||||
if (i == tabs.index())
|
||||
|
||||
@@ -630,7 +630,7 @@ function Events() //{{{
|
||||
|
||||
// load all macros inside ~/.vimperator/macros/
|
||||
// setTimeout needed since io. is loaded after events.
|
||||
setTimeout (function () {
|
||||
setTimeout(function () {
|
||||
try
|
||||
{
|
||||
let dirs = io.getRuntimeDirectories("macros");
|
||||
|
||||
@@ -247,7 +247,8 @@ const modes = (function () //{{{
|
||||
set isReplaying(value) { isReplaying = value; this.show(); },
|
||||
|
||||
get main() main,
|
||||
set main(value) {
|
||||
set main(value)
|
||||
{
|
||||
if (value != main)
|
||||
handleModeChange(main, value);
|
||||
|
||||
|
||||
@@ -685,7 +685,6 @@ function CommandLine() //{{{
|
||||
let output = util.xmlToDom(lastMowOutput, doc);
|
||||
XML.ignoreWhitespace = true;
|
||||
|
||||
|
||||
// FIXME: need to make sure an open MOW is closed when commands
|
||||
// that don't generate output are executed
|
||||
if (outputContainer.collapsed)
|
||||
@@ -988,7 +987,8 @@ function CommandLine() //{{{
|
||||
get mode() (modes.extended == modes.EX) ? "cmd" : "search",
|
||||
|
||||
get silent() silent,
|
||||
set silent(val) {
|
||||
set silent(val)
|
||||
{
|
||||
silent = val;
|
||||
if (silent)
|
||||
storage.styles.addSheet(true, "silent-mode", "chrome://*", "#liberator-commandline > * { opacity: 0 }");
|
||||
@@ -1098,7 +1098,6 @@ function CommandLine() //{{{
|
||||
keepCommand = false;
|
||||
},
|
||||
|
||||
|
||||
/**
|
||||
* Hides the command-line, and shows any status messages that
|
||||
* are under it.
|
||||
|
||||
@@ -47,8 +47,8 @@ ChromeData.prototype = {
|
||||
defaultPort: -1,
|
||||
allowPort: function (port, scheme) false,
|
||||
protocolFlags: nsIProtocolHandler.URI_NORELATIVE
|
||||
| nsIProtocolHandler.URI_NOAUTH
|
||||
| nsIProtocolHandler.URI_IS_UI_RESOURCE,
|
||||
| nsIProtocolHandler.URI_NOAUTH
|
||||
| nsIProtocolHandler.URI_IS_UI_RESOURCE,
|
||||
|
||||
newURI: function (spec, charset, baseURI)
|
||||
{
|
||||
|
||||
@@ -47,8 +47,8 @@ ChromeData.prototype = {
|
||||
defaultPort: -1,
|
||||
allowPort: function (port, scheme) false,
|
||||
protocolFlags: nsIProtocolHandler.URI_NORELATIVE
|
||||
| nsIProtocolHandler.URI_NOAUTH
|
||||
| nsIProtocolHandler.URI_IS_UI_RESOURCE,
|
||||
| nsIProtocolHandler.URI_NOAUTH
|
||||
| nsIProtocolHandler.URI_IS_UI_RESOURCE,
|
||||
|
||||
newURI: function (spec, charset, baseURI)
|
||||
{
|
||||
|
||||
@@ -94,7 +94,6 @@ function getBufferPosition()
|
||||
|
||||
function getLocation() window.content.document.location.href;
|
||||
|
||||
|
||||
function echoLine(str, group)
|
||||
{
|
||||
if (!doc)
|
||||
|
||||
Reference in New Issue
Block a user