diff options
author | Doug Kearns <dougkearns@gmail.com> | 2009-08-25 20:33:35 +1000 |
---|---|---|
committer | Doug Kearns <dougkearns@gmail.com> | 2009-08-27 14:46:30 +1000 |
commit | c9586163372a4afdb77816bdd6f6e80bbbf57634 (patch) | |
tree | 1f98282cf373038435197108f792efb6b5f90af9 /common/content/bookmarks.js | |
parent | 5f6405be03439666be470aeb3bcabef75814b621 (diff) | |
download | pentadactyl-c9586163372a4afdb77816bdd6f6e80bbbf57634.tar.gz |
Formatting fixes.
Diffstat (limited to 'common/content/bookmarks.js')
-rw-r--r-- | common/content/bookmarks.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/content/bookmarks.js b/common/content/bookmarks.js index ed10dc1c..4d5a050c 100644 --- a/common/content/bookmarks.js +++ b/common/content/bookmarks.js @@ -92,9 +92,9 @@ function Bookmarks() //{{{ this.__defineGetter__("bookmarks", function () this.load()); this.__defineGetter__("keywords", - function () [new Keyword(k.keyword, k.title, k.icon, k.url) for ([,k] in Iterator(self.bookmarks)) if (k.keyword)]); + function () [new Keyword(k.keyword, k.title, k.icon, k.url) for ([, k] in Iterator(self.bookmarks)) if (k.keyword)]); - this.__iterator__ = function () (val for ([,val] in Iterator(self.bookmarks))); + this.__iterator__ = function () (val for ([, val] in Iterator(self.bookmarks))); function loadBookmark(node) { @@ -502,7 +502,7 @@ function Bookmarks() //{{{ let engine = services.get("browserSearch").getEngineByAlias(name); if (!engine) return; - let [,word] = /^\s*(\S+)/.exec(context.filter) || []; + let [, word] = /^\s*(\S+)/.exec(context.filter) || []; if (!kludge && word == name) // FIXME: Check for matching keywords return; let ctxt = context.fork(name, 0); @@ -654,7 +654,7 @@ function Bookmarks() //{{{ getSearchEngines: function getSearchEngines() { let searchEngines = []; - for (let [,engine] in Iterator(services.get("browserSearch").getVisibleEngines({}))) + for (let [, engine] in Iterator(services.get("browserSearch").getVisibleEngines({}))) { let alias = engine.alias; if (!alias || !/^[a-z0-9_-]+$/.test(alias)) |