mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-22 13:55:49 +01:00
Move some event-based code into observers in the modules it affects.
This commit is contained in:
@@ -125,6 +125,12 @@ var Contexts = Module("contexts", {
|
||||
util.trapErrors("onUnload", plugin);
|
||||
},
|
||||
|
||||
signals: {
|
||||
"browser.locationChange": function (webProgress, request, uri) {
|
||||
this.flush();
|
||||
}
|
||||
},
|
||||
|
||||
Group: Class("Group", Group, { modules: modules, get hiveMap() modules.contexts.hives }),
|
||||
|
||||
Hives: Class("Hives", Class.Property, {
|
||||
|
||||
Reference in New Issue
Block a user