1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-07 19:04:11 +01:00

Add NEWS entry about :groups.

--HG--
branch : groups
This commit is contained in:
Kris Maglione
2011-02-11 04:15:23 -05:00
parent d06250eeef
commit caedeceadd
4 changed files with 24 additions and 10 deletions

View File

@@ -125,7 +125,10 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
obj.observers[target].call(obj, subject, data);
}
catch (e) {
util.reportError(e);
if (typeof util === "undefined")
dump("dactyl: error: " + e + "\n" + (e.stack || Error().stack).replace(/^/gm, "dactyl: "));
else
util.reportError(e);
}
});
@@ -1039,7 +1042,8 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
JSMLoader.cleanup();
services.observer.addObserver(this, "dactyl-rehash", true);
if (!this.rehashing)
services.observer.addObserver(this, "dactyl-rehash", true);
},
"dactyl-rehash": function () {
services.observer.removeObserver(this, "dactyl-rehash");