1
0
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:
Doug Kearns
2009-01-11 14:07:10 +11:00
parent f5e2a671e8
commit 9729969d8b
9 changed files with 12 additions and 14 deletions

View File

@@ -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())

View File

@@ -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");

View File

@@ -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);

View File

@@ -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.

View File

@@ -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)
{

View File

@@ -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)
{

View File

@@ -94,7 +94,6 @@ function getBufferPosition()
function getLocation() window.content.document.location.href;
function echoLine(str, group)
{
if (!doc)