1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-23 00:13:32 +01:00

Move some event-based code into observers in the modules it affects.

This commit is contained in:
Kris Maglione
2011-02-27 16:58:21 -05:00
parent 191ece33e0
commit 74fbc5833f
10 changed files with 159 additions and 99 deletions

View File

@@ -447,6 +447,12 @@ var Events = Module("events", {
});
},
signals: {
"browser.locationChange": function (webProgress, request, uri) {
options.get("passkeys").flush();
}
},
/**
* Adds an event listener for this session and removes it on
* dactyl shutdown.