1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 20:32:25 +01:00

whitespace fixes

This commit is contained in:
Doug Kearns
2008-09-01 09:22:47 +00:00
parent 1fe5b5c8b3
commit 6ea8b75298
15 changed files with 90 additions and 80 deletions

View File

@@ -489,8 +489,8 @@ liberator.Events = function () //{{{
function waitForPageLoaded()
{
dump("start waiting in loaded state: " + liberator.buffer.loaded + "\n");
var mainThread = Components.classes["@mozilla.org/thread-manager;1"].
getService(Components.interfaces.nsIThreadManager).mainThread;
var mainThread = Components.classes["@mozilla.org/thread-manager;1"]
.getService(Components.interfaces.nsIThreadManager).mainThread;
while (mainThread.hasPendingEvents()) // clear queue
mainThread.processNextEvent(true);
@@ -1487,7 +1487,7 @@ liberator.Events = function () //{{{
register: function ()
{
var prefService = Components.classes["@mozilla.org/preferences-service;1"]
.getService(Components.interfaces.nsIPrefService);
.getService(Components.interfaces.nsIPrefService);
this._branch = prefService.getBranch(""); // better way to monitor all changes?
this._branch.QueryInterface(Components.interfaces.nsIPrefBranch2);
this._branch.addObserver("", this, false);