From 5dd44343ed5f556aa1e1d053ef554808bbd098fb Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sat, 23 Aug 2008 02:31:17 +0000 Subject: [PATCH] add missing semicolons --- content/buffer.js | 2 +- content/hints.js | 2 +- content/muttator.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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!