1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 01:57:58 +01:00

Also add events groups for the use of plugins.

--HG--
branch : groups
This commit is contained in:
Kris Maglione
2011-02-06 23:02:36 -05:00
parent 83d86f7f02
commit 9189715e9c
11 changed files with 123 additions and 57 deletions

View File

@@ -1644,9 +1644,9 @@ var Buffer = Module("buffer", {
};
},
events: function () {
events.addSessionListener(config.browser, "DOMContentLoaded", buffer.closure.onDOMContentLoaded, true);
events.addSessionListener(config.browser, "load", buffer.closure.onPageLoad, true);
events.addSessionListener(config.browser, "scroll", buffer.closure._updateBufferPosition, false);
events.listen(config.browser, "DOMContentLoaded", buffer.closure.onDOMContentLoaded, true);
events.listen(config.browser, "load", buffer.closure.onPageLoad, true);
events.listen(config.browser, "scroll", buffer.closure._updateBufferPosition, false);
},
mappings: function () {
var myModes = config.browserModes;