diff --git a/content/buffer.js b/content/buffer.js index d2fce360..a3f87e22 100644 --- a/content/buffer.js +++ b/content/buffer.js @@ -1852,7 +1852,7 @@ liberator.template = { {title} { - this.map(data, function(datum) + this.map(data, function (datum) {datum[0]} {this.maybeXML(datum[1])} diff --git a/content/events.js b/content/events.js index 6f859254..a60d2252 100644 --- a/content/events.js +++ b/content/events.js @@ -669,7 +669,7 @@ liberator.Events = function () //{{{ var str = { liberator.template.map2(liberator.events.getMacros(args), - function(macro, keys) + function (macro, keys) diff --git a/content/io.js b/content/io.js index 1dd03148..1c286661 100644 --- a/content/io.js +++ b/content/io.js @@ -321,7 +321,7 @@ liberator.IO = function () //{{{ function () { XML.prettyPrinting = false; - var list = + var list =
{macro} {keys}
{ liberator.template.map2(scriptNames, function (i, name) diff --git a/content/liberator.js b/content/liberator.js index b3eff8c1..be27fd67 100644 --- a/content/liberator.js +++ b/content/liberator.js @@ -634,7 +634,7 @@ const liberator = (function () //{{{ else { var soundService = Components.classes["@mozilla.org/sound;1"] - .getService(Components.interfaces.nsISound); + .getService(Components.interfaces.nsISound); soundService.beep(); } return false; // so you can do: if (...) return liberator.beep();