diff --git a/content/buffer.js b/content/buffer.js index 26966067..0685ebf0 100644 --- a/content/buffer.js +++ b/content/buffer.js @@ -573,7 +573,7 @@ liberator.Buffer = function () //{{{ // TODO: how should we handle duplicate titles? stylesheets = stylesheets.filter(function (stylesheet) { - return !(!/^(screen|all|)$/i.test(stylesheet.media.mediaText) || /^\s*$/.test(stylesheet.title)) + return !(!/^(screen|all|)$/i.test(stylesheet.media.mediaText) || /^\s*$/.test(stylesheet.title)); }); return stylesheets; diff --git a/content/hints.js b/content/hints.js index 1c5dab3f..2320dea5 100644 --- a/content/hints.js +++ b/content/hints.js @@ -595,7 +595,7 @@ liberator.Hints = function () //{{{ completer: function (filter) { return ["contains", "wordstartswith", "firstletters", "custom"] - .map(function (m){ return [m, ""] }); + .map(function (m){ return [m, ""]; }); } }); diff --git a/content/muttator.js b/content/muttator.js index c77eec5d..fef47ecb 100644 --- a/content/muttator.js +++ b/content/muttator.js @@ -181,7 +181,7 @@ liberator.config = { //{{{ }, NotifyDocumentCreated: function () {}, NotifyDocumentWillBeDestroyed: function () {} - } + }; // XXX: Hack!