1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 10:57:58 +01:00

whitespace fixes

This commit is contained in:
Doug Kearns
2008-10-01 04:14:36 +00:00
parent 75970bee04
commit bda94a3421
2 changed files with 5 additions and 5 deletions

View File

@@ -487,7 +487,7 @@ liberator.Bookmarks = function () //{{{
url: item[0],
title: item[1],
extra: [['keyword', item[2], 'red'],
['tags', item[3].join(', '), 'blue']].filter(function(i) i[1])
['tags', item[3].join(', '), 'blue']].filter(function (i) i[1])
} for each (item in items)));
liberator.commandline.echo(list, liberator.commandline.HL_NORMAL, liberator.commandline.FORCE_MULTILINE);
},

View File

@@ -911,7 +911,7 @@ liberator.Buffer = function () //{{{
elem.focus();
var evt = doc.createEvent("MouseEvents");
["mousedown", "mouseup", "click"].forEach(function(event)
["mousedown", "mouseup", "click"].forEach(function (event)
{
evt.initMouseEvent(event, true, true, view, 1, offsetX, offsetY, 0, 0,
ctrlKey, /*altKey*/0, shiftKey, /*metaKey*/ ctrlKey, 0, null);
@@ -1186,7 +1186,7 @@ liberator.Buffer = function () //{{{
// put feeds rss into pageFeeds[]
var linkNodes = doc.getElementsByTagName("link");
Array.forEach(linkNodes, function(link) {
Array.forEach(linkNodes, function (link) {
if (!link.href)
return;
@@ -1269,8 +1269,8 @@ liberator.Buffer = function () //{{{
let nodes = [];
let i = 0;
nodes = Array.map(metaNodes, function(node) [node.name || node.httpEquiv, node.content]);
nodes.sort(function(a, b) String.localeCompare(a[0].toLowerCase(), b[0].toLowerCase()));
nodes = Array.map(metaNodes, function (node) [node.name || node.httpEquiv, node.content]);
nodes.sort(function (a, b) String.localeCompare(a[0].toLowerCase(), b[0].toLowerCase()));
pageMeta = [[node[0], liberator.util.highlightURL(node[1], false)]
for each (node in nodes)];