From 074df859c50ad221f441e7db7fddb94904ad059b Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Thu, 13 Nov 2008 15:45:30 +0000 Subject: [PATCH] whitespace fixes --- content/commands.js | 4 ++-- content/completion.js | 4 ++-- content/style.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/content/commands.js b/content/commands.js index f5076bce..f27df3ab 100644 --- a/content/commands.js +++ b/content/commands.js @@ -179,7 +179,7 @@ function Commands() //{{{ return NaN; } - function quote(q, list) list.reduce(function (acc, [k,v]) { + function quote(q, list) list.reduce(function (acc, [k, v]) { v = "\\" + (v || k); return function (str) acc(String.replace(str, k, v, "g")) }, function (val) q + val + q); @@ -783,7 +783,7 @@ function Commands() //{{{ arguments: [cmd.name], literalArg: cmd.replacementText } - for ([k,cmd] in Iterator(exCommands)) + for ([k, cmd] in Iterator(exCommands)) if (cmd.isUserCommand && cmd.replacementText) ] }); diff --git a/content/completion.js b/content/completion.js index 2bc0b08b..0d5fe437 100644 --- a/content/completion.js +++ b/content/completion.js @@ -487,7 +487,7 @@ function Completion() //{{{ var completer = obj[func].liberatorCompleter; } catch (e) {} - if (!completer) + if (!completer) completer = this.completers[func]; if (!completer) return [0, []]; @@ -800,7 +800,7 @@ function Completion() //{{{ return { start: 0, get completions() { return bookmarks.get(filter) }, - createRow: function (item) + createRow: function (item)