diff options
author | Kris Maglione <maglione.k@gmail.com> | 2011-02-27 16:58:21 -0500 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2011-02-27 16:58:21 -0500 |
commit | 74fbc5833fb691af0c030413d5b7713c54f0e31b (patch) | |
tree | 4714e026944fd9d473bed14e6fc6cecad89de57e /common/modules/contexts.jsm | |
parent | 191ece33e032483c2445594c21c1cbc4b1da75fb (diff) | |
download | pentadactyl-74fbc5833fb691af0c030413d5b7713c54f0e31b.tar.gz |
Move some event-based code into observers in the modules it affects.
Diffstat (limited to 'common/modules/contexts.jsm')
-rw-r--r-- | common/modules/contexts.jsm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/modules/contexts.jsm b/common/modules/contexts.jsm index 0c74bc54..f2a8da12 100644 --- a/common/modules/contexts.jsm +++ b/common/modules/contexts.jsm @@ -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, { |