From 3113c26a862e957ff343223b3e63c1cdb0741ccb Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Thu, 11 Sep 2008 08:08:50 +0000 Subject: [PATCH] whitespace fixes --- content/options.js | 6 +++--- content/ui.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/content/options.js b/content/options.js index 4b7782bf..bf0c6a35 100644 --- a/content/options.js +++ b/content/options.js @@ -68,8 +68,8 @@ liberator.Option = function (names, description, type, defaultValue, extraInfo) } } - this.__defineGetter__("globalvalue", function() liberator.options.store.get(cannonName)); - this.__defineSetter__("globalvalue", function(val) liberator.options.store.set(cannonName, val)); + this.__defineGetter__("globalvalue", function () liberator.options.store.get(cannonName)); + this.__defineSetter__("globalvalue", function (val) liberator.options.store.set(cannonName, val)); this.globalvalue = this.defaultValue; this.get = function (scope) @@ -167,7 +167,7 @@ liberator.Options = function () //{{{ { // Trigger any setters. let opt = liberator.options.get(option); - if(event == "change" && opt) + if (event == "change" && opt) opt.set(opt.value, liberator.options.OPTION_SCOPE_GLOBAL) } diff --git a/content/ui.js b/content/ui.js index 1255f45d..4f89153c 100644 --- a/content/ui.js +++ b/content/ui.js @@ -54,14 +54,14 @@ liberator.CommandLine = function () //{{{ get length() this.store.length, - get: function(index) this.store.get(index), + get: function (index) this.store.get(index), add: function (str) { if (!str) return; - this.store.mutate('filter', function(line) line != str); + this.store.mutate('filter', function (line) line != str); this.store.push(str); this.store.truncate(liberator.options["history"], true); }