diff --git a/content/bookmarks.js b/content/bookmarks.js index 9810ea59..fe990591 100644 --- a/content/bookmarks.js +++ b/content/bookmarks.js @@ -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); }, diff --git a/content/buffer.js b/content/buffer.js index 7fc7c847..e72943a0 100644 --- a/content/buffer.js +++ b/content/buffer.js @@ -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)];