mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-03 23:35:49 +01:00
Add as-yet undocumented site-specific mapping hives, :map -group flag, and :mapgroup command.
This commit is contained in:
@@ -38,15 +38,15 @@ var Prefs = Module("prefs", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
|
||||
cleanup: function cleanup() {
|
||||
if (this.defaults != this)
|
||||
this.defaults.cleanup();
|
||||
|
||||
this.branch.removeObserver("", this);
|
||||
this._observers = {};
|
||||
if (this.observe) {
|
||||
this.branch.removeObserver("", this);
|
||||
this.observe.unregister();
|
||||
delete this.observe;
|
||||
}
|
||||
},
|
||||
|
||||
observe: null,
|
||||
observers: {
|
||||
"nsPref:changed": function (subject, data) {
|
||||
let observers = this._observers[data];
|
||||
|
||||
Reference in New Issue
Block a user