mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 13:37:59 +01:00
Source formatting fixes *yawn*.
This commit is contained in:
@@ -1454,7 +1454,8 @@ function Completion() //{{{
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
charset: function(context) {
|
charset: function (context)
|
||||||
|
{
|
||||||
context.anchored = false;
|
context.anchored = false;
|
||||||
context.generate = function () {
|
context.generate = function () {
|
||||||
let names = util.Array(
|
let names = util.Array(
|
||||||
|
|||||||
@@ -410,7 +410,8 @@ const util = { //{{{
|
|||||||
[XHTML, 'html'],
|
[XHTML, 'html'],
|
||||||
[XUL, 'xul'],
|
[XUL, 'xul'],
|
||||||
]);
|
]);
|
||||||
if (object instanceof Node && !(object instanceof Document)) {
|
if (object instanceof Node && !(object instanceof Document))
|
||||||
|
{
|
||||||
let elem = object;
|
let elem = object;
|
||||||
if (elem.nodeType == elem.TEXT_NODE)
|
if (elem.nodeType == elem.TEXT_NODE)
|
||||||
return elem.data;
|
return elem.data;
|
||||||
|
|||||||
@@ -102,7 +102,8 @@ const config = { //{{{
|
|||||||
function () { buffer.viewSelectionSource(); }]*/
|
function () { buffer.viewSelectionSource(); }]*/
|
||||||
],
|
],
|
||||||
|
|
||||||
focusChange: function(win) {
|
focusChange: function (win)
|
||||||
|
{
|
||||||
// we switch to -- MESSAGE -- mode for Muttator, when the main HTML widget gets focus
|
// we switch to -- MESSAGE -- mode for Muttator, when the main HTML widget gets focus
|
||||||
if (win && win.document instanceof HTMLDocument || liberator.focus instanceof HTMLAnchorElement)
|
if (win && win.document instanceof HTMLDocument || liberator.focus instanceof HTMLAnchorElement)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -141,7 +141,8 @@ const config = { //{{{
|
|||||||
function () { SBSubscribe(); }]
|
function () { SBSubscribe(); }]
|
||||||
],
|
],
|
||||||
|
|
||||||
focusChange: function() {
|
focusChange: function ()
|
||||||
|
{
|
||||||
// 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;
|
||||||
@@ -173,7 +174,8 @@ const config = { //{{{
|
|||||||
"library.js"
|
"library.js"
|
||||||
],
|
],
|
||||||
|
|
||||||
stop: function() {
|
stop: function ()
|
||||||
|
{
|
||||||
SBGetBrowser().mCurrentBrowser.stop();
|
SBGetBrowser().mCurrentBrowser.stop();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user